From a93461b231fb94f3a6a9df09a30557732201ddcc Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 14 Oct 2013 16:06:56 +0000 Subject: added new EasyGiant Library --- h-source/Library/Users/CheckAdmin.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'h-source/Library/Users/CheckAdmin.php') 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 -- cgit v1.2.3