aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/system_log.php2
-rw-r--r--engine/settings.example.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/system_log.php b/engine/lib/system_log.php
index f9772ecc7..f830d6a05 100644
--- a/engine/lib/system_log.php
+++ b/engine/lib/system_log.php
@@ -123,6 +123,6 @@
}
/** Register event to listen to all events **/
- register_event_handler('all','all','system_log_listener');
+ register_event_handler('all','all','system_log_listener', 400);
?> \ No newline at end of file
diff --git a/engine/settings.example.php b/engine/settings.example.php
index fd50e3fe4..6d947a8ba 100644
--- a/engine/settings.example.php
+++ b/engine/settings.example.php
@@ -10,7 +10,8 @@
*/
global $CONFIG;
- $CONFIG = new stdClass;
+ if (!isset($CONFIG))
+ $CONFIG = new stdClass;
/*
* Standard configuration