Move from foot to head to allow usage in all pages.
+global $User, $editable;
$curfile = ltrim($_SERVER['SCRIPT_NAME'], '/');
if (is_executable(__DIR__ . '/' . $curfile)) {
$curfile = ltrim($_SERVER['SCRIPT_NAME'], '/');
if (is_executable(__DIR__ . '/' . $curfile)) {
print '<div class="article">'."\n\n";
print '<div class="article">'."\n\n";
+include_once 'auth.inc.php';
+
register_shutdown_function(function () {
include 'foot.inc.php';
});
register_shutdown_function(function () {
include 'foot.inc.php';
});