X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/1796f2e9e3a0a72f89066c35b46751b72eaadf73..170f16e2dd3a643423ea3681bf4ea42d320e1cf4:/page.php diff --git a/page.php b/page.php index fb0c4dd..e23b3e2 100644 --- a/page.php +++ b/page.php @@ -83,6 +83,7 @@ set_include_path(implode(PATH_SEPARATOR, [ DOCROOT, __DIR__ ])); function fail($error) { + global $User, $Page, $Args; http_response_code(500); if (!isset($Article)) { $Article = new ArchiveArticle(NULL);