From 52594482d68d51b87b437251547b2c0f9918ffc9 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 27 Dec 2010 21:23:52 +0000 Subject: 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 --- engine/lib/plugins.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine/lib/plugins.php') 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/"); } -- cgit v1.2.3