aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-27 21:23:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-27 21:23:52 +0000
commit52594482d68d51b87b437251547b2c0f9918ffc9 (patch)
tree0ef1d6266f47ee9bb4ec1a41ad490979ac79338f /engine/lib
parent97530e4d5aa108e8cd0531d53f1f30c909f016e2 (diff)
downloadelgg-52594482d68d51b87b437251547b2c0f9918ffc9.tar.gz
elgg-52594482d68d51b87b437251547b2c0f9918ffc9.tar.bz2
fixing merge of plugin code [7727] - it blew away the plugin class loading code
git-svn-id: http://code.elgg.org/elgg/trunk@7730 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/plugins.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 53c2c2385..dded13ef4 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -195,6 +195,10 @@ function load_plugins() {
}
}
+ if (is_dir($CONFIG->pluginspath . "$mod/classes")) {
+ elgg_register_classes($CONFIG->pluginspath . "$mod/classes");
+ }
+
if (is_dir($CONFIG->pluginspath . $mod . "/languages")) {
register_translations($CONFIG->pluginspath . $mod . "/languages/");
}