From 7bdb2ef48fd89b82849aeb76a65668bf620595a0 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 16 Apr 2015 00:57:24 -0700 Subject: [PATCH] Additional check added before creating plugin folders in LOG directory. --- e107_handlers/admin_log_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/admin_log_class.php b/e107_handlers/admin_log_class.php index aa0d467bc..cec4f7841 100644 --- a/e107_handlers/admin_log_class.php +++ b/e107_handlers/admin_log_class.php @@ -767,7 +767,7 @@ class e_admin_log $dir = e_LOG; - if(e_CURRENT_PLUGIN) // If it's a plugin, create a subfolder. + if(deftrue('e_CURRENT_PLUGIN')) // If it's a plugin, create a subfolder. { $dir = e_LOG.e_CURRENT_PLUGIN."/";