diff options
-rw-r--r-- | engine/lib/system_log.php | 2 | ||||
-rw-r--r-- | engine/settings.example.php | 3 |
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
|