add web domain

This commit is contained in:
Serghey Rodin 2012-05-28 18:19:49 +03:00
commit 2d12f47a73
18 changed files with 559 additions and 29 deletions

View file

@ -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');