From 33ba81a9717d2320212fc7de074b671fdf5d427a Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 20 Jun 2008 13:02:29 +0000 Subject: Bypass plugin loading disable code git-svn-id: https://code.elgg.org/elgg/trunk@1022 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/plugins.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine') diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index 464163f2b..a38fc2434 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -58,8 +58,8 @@ if ($handle = opendir($CONFIG->pluginspath)) { while ($mod = readdir($handle)) { if (!in_array($mod,array('.','..','.svn','CVS')) && is_dir($CONFIG->pluginspath . "/" . $mod)) { - if (is_plugin_enabled($mod)) - { + //if (is_plugin_enabled($mod)) + //{ if (!@include($CONFIG->pluginspath . $mod . "/start.php")) throw new PluginException(sprintf(elgg_echo('PluginException:MisconfiguredPlugin'), $mod)); if (is_dir($CONFIG->pluginspath . $mod . "/views/default")) { @@ -68,7 +68,7 @@ if (is_dir($CONFIG->pluginspath . $mod . "/languages")) { register_translations($CONFIG->pluginspath . $mod . "/languages/"); } - } + //} } } } -- cgit v1.2.3