aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 13:02:29 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 13:02:29 +0000
commit33ba81a9717d2320212fc7de074b671fdf5d427a (patch)
tree0da272a9c50022123743b988a54801ccd450d2db
parent6341f41c7e48912e03c3fdb01d108bff8539df06 (diff)
downloadelgg-33ba81a9717d2320212fc7de074b671fdf5d427a.tar.gz
elgg-33ba81a9717d2320212fc7de074b671fdf5d427a.tar.bz2
Bypass plugin loading disable code
git-svn-id: https://code.elgg.org/elgg/trunk@1022 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/plugins.php6
1 files changed, 3 insertions, 3 deletions
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/");
}
- }
+ //}
}
}
}