Unverified Commit 5dad80bb authored by EyesOfNetwork's avatar EyesOfNetwork Committed by GitHub
Browse files

Merge pull request #24 from EyesOfNetworkCommunity/19-admin_files

Closes #19. Re-add admin_files module
parents 2ee58641 db02d72c
<?php
/*
#########################################
#
# Copyright (C) 2016 EyesOfNetwork Team
# DEV NAME : Quentin HOARAU
# VERSION : 5.0
# APPLICATION : eonweb for eyesofnetwork project
#
# LICENCE :
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#########################################
*/
include("../../header.php");
include("../../side.php");
?>
<div id="page-wrapper">
<?php
if(isset($_GET["file"])){
$file=$_GET["file"];
if(!isset(${"path_".$file}))
die("");
}
else
die("");
?>
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><?php echo getLabel("label.admin_files.title_$file"); ?></h1>
</div>
</div>
<?php
// Test if file is writable
filemodify(${"path_".$file},$file);
?>
</div>
<?php include("../../footer.php"); ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment