/var/www/hkosl.com/dashboard/webadmin/config.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
error_reporting
(E_ALL E_NOTICE);

header('Cache-control: private'); // IE 6 FIX

// always modified 
header('Last-Modified: ' gmdate("D, d M Y H:i:s") . ' GMT'); 
// HTTP/1.1 
header('Cache-Control: no-store, no-cache, must-revalidate'); 
header('Cache-Control: post-check=0, pre-check=0'false); 
// HTTP/1.0 
header('Pragma: no-cache');

// ---------- LOGIN INFO ---------- //

//$config_username = 'user';
//$config_password = 'demo123';
//$config_password = 'ee11cbb19052e40b07aac0ca060c23ee';
require_once 'configure.php';

require_once 
'function_auth.php';
Sys_user::checkLogin();

/*
// disabled cookie

$cookie_name = 'siteAuth';

$cookie_time = (3600 * 24 * 30); // 30 days

if(!$_SESSION['loginname'])
{
include_once 'autologin.php';
}
*/

?>