AlternC/bureau/admin/alternc_debugme.php

22 lines
276 B
PHP

<?php
require_once("../class/config.php");
$fields = array (
"enable" => array("request","string","0")
);
getFields($fields);
print_r($enable);
if ($enable) {
$debug_alternc->activate();
} else {
$debug_alternc->desactivate();
}
header("Location: /main.php");
?>