[Phpslash-commit] CVS: phpslash-ft/public_html login.php3,1.12,1.13
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-02-02 21:01:24
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv6008/phpslash-ft/public_html Modified Files: login.php3 Log Message: login tweak Index: login.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/login.php3,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** login.php3 2002/01/09 17:11:29 1.12 --- login.php3 2002/02/02 21:01:20 1.13 *************** *** 6,14 **** page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm")); ! if (isset($cancel)) { Header("Location: " . $_PSL[rooturl]); // go home } ! if ($logout) { $username = $auth->auth['uname']; $auth->auth["error"] = sprintf(pslgetText("%s logged out."), $username); --- 6,15 ---- page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm")); ! if (isset($HTTP_POST_VARS['cancel'])) { Header("Location: " . $_PSL[rooturl]); // go home + die("\n"); // Kill script if not dead already, possible memory leak } ! if (isset($HTTP_GET_VARS['logout'])) { $username = $auth->auth['uname']; $auth->auth["error"] = sprintf(pslgetText("%s logged out."), $username); *************** *** 21,25 **** // Objects - // $poll = new Poll; $story = new Story; $block = new Block_i; --- 22,25 ---- |