???
This commit is contained in:
parent
8d9d1bda8d
commit
ea6e0d7bbf
@ -7,10 +7,10 @@
|
||||
*/
|
||||
|
||||
session_start();
|
||||
require_once '../functions.php';
|
||||
db::c()->prepare();
|
||||
//require_once '../functions.php';
|
||||
if (empty($user['admin'])) {
|
||||
echo "<!DOCTYPE HTML><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL {$_SERVER['SCRIPT_NAME']} was not found on this server.</p><hr><address>Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426</address></body></html>";
|
||||
//echo "<!DOCTYPE HTML><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL {$_SERVER['SCRIPT_NAME']} was not found on this server.</p><hr><address>Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426</address></body></html>";
|
||||
header("HTTP/1.0 404 Not Found");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user