$Place['warn'] = $message;
$Place['title'] = 'Inloggen';
if (isset($_REQUEST['goto'])) {
- require_once 'nieuws.inc.php';
$target = ltrim($_REQUEST['goto'], '/');
$target = new ArchiveArticle("$target.html");
if ($target->file) {
exit;
}
-if (empty($Args) and !empty($User['admin'])) {
+if (empty($Args) and $User and $User->admin) {
include_once 'login/admin.html';
}