[Openfirst-cvscommit] base/config auth.php,1.10,1.11
Brought to you by:
xtimg
From: <xt...@us...> - 2003-11-23 15:24:42
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv22049 Modified Files: auth.php Log Message: Style changes for the sake of uniformity. Index: auth.php =================================================================== RCS file: /cvsroot/openfirst/base/config/auth.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** auth.php 16 Nov 2003 23:08:34 -0000 1.10 --- auth.php 23 Nov 2003 15:24:39 -0000 1.11 *************** *** 97,102 **** //renew cookie setcookie("openFIRSTlogin",$authcode,time()+2592000,"/"); ! } ! else{ $authcode=0; } --- 97,101 ---- //renew cookie setcookie("openFIRSTlogin",$authcode,time()+2592000,"/"); ! } else { $authcode=0; } *************** *** 142,147 **** //save authcode in a cookie setcookie("openFIRSTlogin",$_SESSION["authcode"],time()+2592000,"/"); ! } ! else{ //delete cookie setcookie("openFIRSTlogin"," ",time()-3600,"/"); --- 141,145 ---- //save authcode in a cookie setcookie("openFIRSTlogin",$_SESSION["authcode"],time()+2592000,"/"); ! } else { //delete cookie setcookie("openFIRSTlogin"," ",time()-3600,"/"); |