]> git.datanom.net - qtadmin.git/commitdiff
Add check for valid session
authorMichael Rasmussen <mir@datanom.net>
Fri, 5 Jun 2015 21:58:43 +0000 (23:58 +0200)
committerMichael Rasmussen <mir@datanom.net>
Fri, 5 Jun 2015 21:58:43 +0000 (23:58 +0200)
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.031609 seconds and 5 git commands to generate.