X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/a914fa4a9fe3ef4e708e983da8a53edada5e09aa..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';