X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/6e081c5f9eef8c01f290e84eadcd328234e53e7b..c49d593ff36278c6c64d0a06bd8a0b6a0b4d2270:/lib/utils.inc.php?ds=sidebyside diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 723a133..e0ab45d 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -1,15 +1,14 @@ root .'config.php'; +require_once $CFG->root . 'lib/session_handler.inc.php'; -class Utils implements Serializable { +class Utils { - private static $_instance = null; - private $server; - private $user; - private $is_admin; - private $loginStatus; - private $timeout; + private $timeout = false; + private $settings; + private $log_level; + private $log_method; private $header = '
@@ -20,61 +19,121 @@ class Utils implements Serializable { +