Files
Mozilla/mozilla/webtools/update/developers/core/sessionconfig.php
mike.morgan%oregonstate.edu 301cf89d80 Global configuration changes to all UMO scripts:
- identifiable config vars
    - relative paths (please look for errors!)
    - non-executing config file
    - init file for executables
    - revised VersionCheck.php
    - improved header/footer
    - reduced markup in site documents


git-svn-id: svn://10.0.0.236/branches/MOZILLA_UPDATE_1_0_BRANCH@171633 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 04:47:11 +00:00

11 lines
288 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) {
header('Location: https://'.HOST_NAME.WEB_PATH.'/developers/');
exit;
}
?>