aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 358dc3ddf..ff6f1aa0d 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -622,6 +622,8 @@
{
global $CONFIG, $ENABLED_PLUGINS_CACHE;
+ if (!file_exists($CONFIG->pluginspath . $plugin)) return false;
+
$site_guid = (int) $site_guid;
if ($site_guid == 0)
$site_guid = $CONFIG->site_guid;