psychoticwolf%carolina.rr.com c5d9f8356e Fix several small bugs in the devcp.
git-svn-id: svn://10.0.0.236/trunk@166650 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 05:40:59 +00:00

11 lines
315 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://$sitehostname/$return_path");
exit;
}
?>