зеркало из https://github.com/mozilla/gecko-dev.git
11 строки
323 B
PHP
Executable File
11 строки
323 B
PHP
Executable File
<?php
|
|
//session_name('sid');
|
|
session_name();
|
|
session_start();
|
|
|
|
if ($_SESSION["logoncheck"] !=="YES" && strpos($_SERVER["SCRIPT_NAME"],"login.php")===false && strpos($_SERVER["SCRIPT_NAME"],"index.php")===false) {
|
|
$return_path="developers/index.php";
|
|
header("Location: http://$_SERVER[SERVER_NAME]/$return_path");
|
|
exit;
|
|
}
|
|
?>
|