From: cash Date: Mon, 27 Dec 2010 21:23:52 +0000 (+0000) Subject: fixing merge of plugin code [7727] - it blew away the plugin class loading code X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=52594482d68d51b87b437251547b2c0f9918ffc9;p=lorea%2Felgg.git 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 --- 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/"); }