First effort in bringing some sanity

This commit is contained in:
f0o
2016-02-10 13:42:55 +00:00
parent da9f6e5343
commit 37dccb3932
2 changed files with 5 additions and 13 deletions
-8
View File
@@ -214,14 +214,6 @@ else {
<div class="col-md-12">
<?php
// To help debug the new URLs :)
if (isset($devel) || isset($vars['devel'])) {
echo("<pre>");
print_r($_GET);
print_r($vars);
echo("</pre>");
}
if ($_SESSION['authenticated']) {
// Authenticated. Print a page.
if (isset($vars['page']) && !strstr("..", $vars['page']) && is_file("pages/" . $vars['page'] . ".inc.php")) {