X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/01cc21cf0d24f803998612615bc5bd807c5ee6c4..519a15b5c75c25ccdf6e264a724a21b58e0991ae:/lib/utils.inc.php diff --git a/lib/utils.inc.php b/lib/utils.inc.php index ec109f8..6dd4760 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -29,8 +29,6 @@ class Utils { public function __construct() { global $CFG; - $this->log("Init Utils", 4); - if (isset($CFG->log_level)) { $this->log_level = $CFG->log_level; } else { @@ -43,6 +41,8 @@ class Utils { $this->log_level = 'syslog'; } + $this->log("Init Utils", 4); + $this->startSession(); if (! isset($_SESSION['settings'])) { @@ -83,6 +83,7 @@ class Utils { case 'syslog': syslog($priority,$msg); break; + } } private function initSettings() {