public function __construct() {
global $CFG;
- $this->log("Init Utils", 4);
-
if (isset($CFG->log_level)) {
$this->log_level = $CFG->log_level;
} else {
$this->log_level = 'syslog';
}
+ $this->log("Init Utils", 4);
+
$this->startSession();
if (! isset($_SESSION['settings'])) {
case 'syslog':
syslog($priority,$msg);
break;
+ }
}
private function initSettings() {