35 lines
760 B
PHP
Executable File
35 lines
760 B
PHP
Executable File
<?php
|
|
//ini_set("session.gc_maxlifetime",720000);
|
|
//ini_set('session.gc_probability',1);
|
|
//ini_set('session.gc_divisor',1);
|
|
|
|
header('Content-Type: text/html; charset=utf-8');
|
|
date_default_timezone_set('Asia/Riyadh');
|
|
if (empty($_SERVER['HTTPS'])) {
|
|
// header('Location: https://aqdamy.com.sa/cp');
|
|
}
|
|
session_start();
|
|
|
|
// session_unset();
|
|
// session_destroy();
|
|
// header("location: login.php");
|
|
|
|
|
|
if (!$dont_get_session) {
|
|
require_once('session.php');
|
|
}
|
|
require_once('private.php');
|
|
require_once('roles.php');
|
|
require_once('static_link.php');
|
|
require_once('function.php');
|
|
require_once('array.php');
|
|
|
|
// if(!in_array(0, $rolls)) {
|
|
// echo "
|
|
// <script>
|
|
// window.location.replace('under_maintenance.php')
|
|
// </script>
|
|
// ";
|
|
// }
|
|
|
|
?>
|