aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-18 08:44:29 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-18 08:44:29 +0000
commit1ca838bcc5c1cca94b49561ceef0496d027cc3e6 (patch)
tree34099f56763dbdcd2d9c145b25ef04ccabaa9326 /engine
parent0df3f88354bdcb3607080705c26ddcc62e51c705 (diff)
downloadelgg-1ca838bcc5c1cca94b49561ceef0496d027cc3e6.tar.gz
elgg-1ca838bcc5c1cca94b49561ceef0496d027cc3e6.tar.bz2
Helping plugin developers by no longer suppressing parsing errors in plugins.
git-svn-id: https://code.elgg.org/elgg/trunk@2793 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index a38f159cc..51d004b7a 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -225,7 +225,7 @@
foreach($plugins as $mod) {
if (is_plugin_enabled($mod)) {
if (file_exists($CONFIG->pluginspath . $mod)) {
- if (!@include($CONFIG->pluginspath . $mod . "/start.php"))
+ if (!include($CONFIG->pluginspath . $mod . "/start.php"))
throw new PluginException(sprintf(elgg_echo('PluginException:MisconfiguredPlugin'), $mod));
if (is_dir($CONFIG->pluginspath . $mod . "/views")) {
if ($handle = opendir($CONFIG->pluginspath . $mod . "/views")) {