psychoticwolf%carolina.rr.com 406c9bec81 Fix Bug 275684, Non-empowered user can edit info on other items.
git-svn-id: svn://10.0.0.236/trunk@166957 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 16:14:05 +00:00

11 lines
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;
}
?>