mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
add web domain
This commit is contained in:
parent
c48a1a97c4
commit
2d12f47a73
18 changed files with 559 additions and 29 deletions
|
@ -6,6 +6,10 @@ session_start();
|
|||
$TAB = 'USER';
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
if (empty($_SESSION['user'])) {
|
||||
header("Location: /login/");
|
||||
}
|
||||
|
||||
// Header
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue