<?php
define('N', "\n");
+include 'auth.inc.php';
+
$curfile = ltrim($_SERVER['SCRIPT_NAME'], '/');
if (is_executable(__DIR__ . '/' . $curfile)) {
// dynamic code is +x
}
echo '<p class="footer">'.N;
- echo "Beheer toegestaan voor $editable:".N;
+ echo "Beheer toegestaan voor $User:".N;
printf('<a href="?%s">%s</a>'.N,
$edit ? '' : 'edit',
$edit ? 'lezen' : ($notfound ? 'aanmaken' : 'aanpassen')