From ea6e0d7bbf94356b694ebc19d8550433ba077e7a Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Wed, 26 Aug 2020 12:21:56 +0300 Subject: [PATCH] ??? --- admin/admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index 21d01a1..b1954de 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -7,10 +7,10 @@ */ session_start(); -require_once '../functions.php'; -db::c()->prepare(); +//require_once '../functions.php'; if (empty($user['admin'])) { - echo "404 Not Found

Not Found

The requested URL {$_SERVER['SCRIPT_NAME']} was not found on this server.


Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426
"; + //echo "404 Not Found

Not Found

The requested URL {$_SERVER['SCRIPT_NAME']} was not found on this server.


Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426
"; + header("HTTP/1.0 404 Not Found"); exit; } ?>