diff options
author | Preston Cody <codeman@gentoo.org> | 2006-05-21 02:59:36 +0000 |
---|---|---|
committer | Preston Cody <codeman@gentoo.org> | 2006-05-21 02:59:36 +0000 |
commit | 86213af84519d624965140341ec7b837229da8a7 (patch) | |
tree | 69e2603b37b5aac80e645aeb9e6866f0f7157008 /scire/.lib | |
parent | starting to move stuff over to blackace's implementation (diff) | |
download | scire-86213af84519d624965140341ec7b837229da8a7.tar.gz scire-86213af84519d624965140341ec7b837229da8a7.tar.bz2 scire-86213af84519d624965140341ec7b837229da8a7.zip |
update to login code. should work now.
svn path=/; revision=72
Diffstat (limited to 'scire/.lib')
-rw-r--r-- | scire/.lib/common.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scire/.lib/common.php b/scire/.lib/common.php index 7b34a88..96336b3 100644 --- a/scire/.lib/common.php +++ b/scire/.lib/common.php @@ -41,9 +41,8 @@ require_once('phpGACL.php'); # Check login if (!isset($_SESSION['userid'])) { -# header('Location: ' . $baseurl . 'login.php'); -# exit(0); - $smarty->assign('user', "INVALID USER!!!!"); + header('Location: ' . $baseurl . 'login.php'); + exit(0); } else { $smarty->assign('user', $_SESSION['userid']); } |