aboutsummaryrefslogtreecommitdiff
path: root/h-source/Library/Users
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2013-10-14 16:06:56 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2013-10-14 16:06:56 +0000
commita93461b231fb94f3a6a9df09a30557732201ddcc (patch)
treef278951ee7746da2a618ec57043c57fafe779c1d /h-source/Library/Users
parent6fa0219202ce4ccc5c4592e66031bb0f7f8be2b0 (diff)
added new EasyGiant Library
Diffstat (limited to 'h-source/Library/Users')
-rwxr-xr-xh-source/Library/Users/CheckAdmin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/h-source/Library/Users/CheckAdmin.php b/h-source/Library/Users/CheckAdmin.php
index 54deb2a..701b47e 100755
--- a/h-source/Library/Users/CheckAdmin.php
+++ b/h-source/Library/Users/CheckAdmin.php
@@ -60,6 +60,11 @@ class Users_CheckAdmin {
$this->uid = isset($_COOKIE[$this->_params['cookie_name']]) ? sanitizeAlnum($_COOKIE[$this->_params['cookie_name']]) : null;
}
+ public function setParam($key, $value)
+ {
+ $this->_params[$key] = $value;
+ }
+
private function cleanSessions()
{
#cancello le sessioni scadute