aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 15:11:42 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 15:11:42 +0000
commit44fedcf732370708395227b3fd89cb336389ec8e (patch)
tree8b9debc278f1770f52a79a42c595abdcd02e7513 /engine/lib/plugins.php
parent2953dea01d0e6e01688b18627c384fddb637e8e1 (diff)
downloadelgg-44fedcf732370708395227b3fd89cb336389ec8e.tar.gz
elgg-44fedcf732370708395227b3fd89cb336389ec8e.tar.bz2
Closes #20: Plugin management and config panel
http://trac.elgg.org/elgg/ticket/20 git-svn-id: https://code.elgg.org/elgg/trunk@1027 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/plugins.php')
-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 dd9a75e20..a91006e1b 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -265,6 +265,7 @@
{
global $CONFIG;
+ $plugin = sanitise_string($plugin);
$site_guid = (int) $site_guid;
if ($site_guid == 0)
$site_guid = $CONFIG->site_guid;
@@ -298,6 +299,7 @@
{
global $CONFIG;
+ $plugin = sanitise_string($plugin);
$site_guid = (int) $site_guid;
if ($site_guid == 0)
$site_guid = $CONFIG->site_guid;