aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-06 03:55:10 -0700
committerCash Costello <cash.costello@gmail.com>2011-07-06 03:55:10 -0700
commite4ad206bfd288463a37cfd4f86e6f343e3a35f77 (patch)
tree6a7c84a815467fc34d7ce266b682f7816427f50d /engine/classes
parentd15c4bdf3388b7eca709bd81c522ac1ebf087f0a (diff)
parentb3382a41496bee4b66bc69421b9612bedfb77913 (diff)
downloadelgg-e4ad206bfd288463a37cfd4f86e6f343e3a35f77.tar.gz
elgg-e4ad206bfd288463a37cfd4f86e6f343e3a35f77.tar.bz2
Merge pull request #54 from cash/dev-tools
Fixes #3564 Adds the inspection tool and logging to the web page
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggPlugin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 95a7362e2..e46ac4273 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -700,6 +700,11 @@ class ElggPlugin extends ElggObject {
// return false;
// }
+ // include classes
+ if ($flags & ELGG_PLUGIN_REGISTER_CLASSES) {
+ $this->registerClasses();
+ }
+
// include start file
if ($flags & ELGG_PLUGIN_INCLUDE_START) {
$this->includeFile('start.php');
@@ -715,11 +720,6 @@ class ElggPlugin extends ElggObject {
$this->registerLanguages();
}
- // include classes
- if ($flags & ELGG_PLUGIN_REGISTER_CLASSES) {
- $this->registerClasses();
- }
-
return true;
}