diff options
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 4 |
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/"); } |