Логирование методов пользователя

This commit is contained in:
rsgrinko committed 2022-04-19 00:10:36 +03:00
1 parent d77a8fc3c4
commit 893e1056fc
8 files changed
+274 -23

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
use Core\Models\User;
require_once __DIR__ . '/bootstrap.php';
if (!User::isUser() and $_SERVER['REQUEST_URI'] !== '/login.php') {
if (!User::isAuthorized() and $_SERVER['REQUEST_URI'] !== '/login.php') {
header('Location: login.php');
die();
}
@@ -34,7 +34,7 @@
<header>
<div class="headerwrapper">
<div class="header-left">
<a href="index.html" class="logo">
<a href="index.php" class="logo">
<img src="//<?=$_SERVER['SERVER_NAME']; ?>/admin/styles/images/logo.png" alt=""/>
</a>
<div class="pull-right">