diff --git a/admin/admin.php b/admin/admin.php index 1dd3b24..60d88ee 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -7,7 +7,7 @@ session_start(); //require_once '../functions.php'; -$user = new User($_SESSION['uid']); +$user = new \Battles\User($_SESSION['uid']); if (!$user->admin) { header("HTTP/1.0 404 Not Found"); exit; @@ -65,7 +65,7 @@ if ($_POST['ali']) { //Что делает эта штука? } $aligns = db::c()->query('SELECT `img`,`align`,`name` FROM `aligns` ORDER BY `align`'); -Template::header('ᐰdminка'); +\Battles\Template::header('ᐰdminка'); ?>