X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/6b82542171500ea7134f7a4095b79cb781351465..HEAD:/services/userservice.php diff --git a/services/userservice.php b/services/userservice.php index dde67b5..a4fdbb7 100644 --- a/services/userservice.php +++ b/services/userservice.php @@ -19,9 +19,9 @@ class UserService { var $tablename; var $sessionkey; var $cookiekey; - var $cookietime = 1209600; // 2 weeks + var $cookietime = 63072000; // 2 years - function UserService(&$db) { + function __construct(&$db) { $this->db =& $db; $this->tablename = $GLOBALS['tableprefix'] .'users'; $this->sessionkey = $GLOBALS['cookieprefix'] .'-currentuserid';