Changeset 12362 for trunk/inc/profiles.inc.php
- Timestamp:
- 08/25/09 23:08:46 (3 years ago)
- File:
-
- 1 edited
-
trunk/inc/profiles.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/profiles.inc.php
r12360 r12362 439 439 function bx_login($iId, $sPassword, $bRememberMe = false) { 440 440 bx_logout(); 441 442 $aUrl = parse_url($ site['url']);441 442 $aUrl = parse_url($GLOBALS['site']['url']); 443 443 $sPath = isset($aUrl['path']) && !empty($aUrl['path']) ? $aUrl['path'] : '/'; 444 444 445 445 $iCookieTime = $bRememberMe ? time() + 24*60*60*30 : 0; 446 446 setcookie("memberID", $iId, $iCookieTime, $sPath); … … 465 465 } 466 466 467 $aUrl = parse_url($ site['url']);467 $aUrl = parse_url($GLOBALS['site']['url']); 468 468 $sPath = isset($aUrl['path']) && !empty($aUrl['path']) ? $aUrl['path'] : '/'; 469 469
Note: See TracChangeset
for help on using the changeset viewer.