replace deprecated split
This commit is contained in:
parent
79e3f4e121
commit
da36ba7b7e
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
|
||||||
return (int)$_SESSION[$this->getSessionKey()];
|
return (int)$_SESSION[$this->getSessionKey()];
|
||||||
|
|
||||||
} else if (isset($_COOKIE[$this->getCookieKey()])) {
|
} else if (isset($_COOKIE[$this->getCookieKey()])) {
|
||||||
$cook = split(':', $_COOKIE[$this->getCookieKey()]);
|
$cook = explode(':', $_COOKIE[$this->getCookieKey()]);
|
||||||
//cookie looks like this: 'id:md5(username+password)'
|
//cookie looks like this: 'id:md5(username+password)'
|
||||||
$query = 'SELECT * FROM '. $this->getTableName() .
|
$query = 'SELECT * FROM '. $this->getTableName() .
|
||||||
' WHERE MD5(CONCAT('.$this->getFieldName('username') .
|
' WHERE MD5(CONCAT('.$this->getFieldName('username') .
|
||||||
|
|
Loading…
Reference in a new issue