]> git.datanom.net - qtadmin.git/blobdiff - lib/utils.inc.php
Add check for valid session
[qtadmin.git] / lib / utils.inc.php
index da1cdfb3d42430a6486a6a196c046d507bc60110..6dd47605f242aa2052b56fb464156ef59d0afb27 100644 (file)
@@ -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'])) {
This page took 0.107752 seconds and 5 git commands to generate.