aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 15:25:53 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 15:25:53 +0000
commit722aa0d38cccabcfd33ffbd63b4dc9173e4afd23 (patch)
treed6fd9488576f4ecbc42d7e6d0c444cb1863b3af4
parent298a6f9096d9855ff1c5a4cbbdafe08abbdc8e66 (diff)
downloadelgg-722aa0d38cccabcfd33ffbd63b4dc9173e4afd23.tar.gz
elgg-722aa0d38cccabcfd33ffbd63b4dc9173e4afd23.tar.bz2
Removing assorted errors which will allow for excellent river operation
git-svn-id: https://code.elgg.org/elgg/trunk@808 36083f99-b078-4883-b0ff-0f9b5a30f544
-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