From 895bf152ba8e735c2f99d5285e79997d6d22be22 Mon Sep 17 00:00:00 2001 From: YJSoft Date: Sat, 11 Oct 2014 17:25:01 +0900 Subject: [PATCH 1/3] =?UTF-8?q?if=EB=AC=B8=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/addon/addon.controller.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/addon/addon.controller.php b/modules/addon/addon.controller.php index 4f6423a2d..676032e96 100644 --- a/modules/addon/addon.controller.php +++ b/modules/addon/addon.controller.php @@ -129,7 +129,6 @@ class addonController extends addon $buff[] = $addon_include; $buff[] = '}}}'; $buff[] = '$after_time = microtime(true);'; - $buff[] ='if($after_time-$before_time>$db_info->slowlog[\'time_addon\']){'; $buff[] = '$addon_time_log = new stdClass();'; $buff[] = '$addon_time_log->_log_type = "addon";'; $buff[] = '$addon_time_log->caller = $called_position;'; @@ -137,7 +136,6 @@ class addonController extends addon $buff[] = '$addon_time_log->called_extension = "' . $addon . '";'; $buff[] = '$addon_time_log->_elapsed_time = $after_time-$before_time;'; $buff[] = 'ModuleHandler::triggerCall("XE.writeSlowlog", "after", $addon_time_log);'; - $buff[] = '}'; } $addon_path = _XE_PATH_ . 'files/cache/addons/'; FileHandler::makeDir($addon_path); From cc53596de5cd9f0d43f066f840fff4d009dbdd58 Mon Sep 17 00:00:00 2001 From: YJSoft Date: Sat, 11 Oct 2014 17:27:18 +0900 Subject: [PATCH 2/3] =?UTF-8?q?db=20config=20=EB=B6=88=EB=9F=AC=EC=98=A4?= =?UTF-8?q?=EA=B8=B0=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/addon/addon.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/addon/addon.controller.php b/modules/addon/addon.controller.php index 676032e96..294c1d6e2 100644 --- a/modules/addon/addon.controller.php +++ b/modules/addon/addon.controller.php @@ -79,7 +79,7 @@ class addonController extends addon function makeCacheFile($site_srl = 0, $type = "pc", $gtype = 'site') { // Add-on module for use in creating the cache file - $buff = array('getInsertedAddons($site_srl, $gtype); foreach($addon_list as $addon => $val) From cc23662a1fbdb3d7620a66ccac9ac0c6bff324ee Mon Sep 17 00:00:00 2001 From: YJSoft Date: Sat, 11 Oct 2014 17:28:24 +0900 Subject: [PATCH 3/3] =?UTF-8?q?called=5Fextension=20addon=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/addon/addon.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/addon/addon.controller.php b/modules/addon/addon.controller.php index 294c1d6e2..feb3caaa1 100644 --- a/modules/addon/addon.controller.php +++ b/modules/addon/addon.controller.php @@ -133,7 +133,7 @@ class addonController extends addon $buff[] = '$addon_time_log->_log_type = "addon";'; $buff[] = '$addon_time_log->caller = $called_position;'; $buff[] = '$addon_time_log->called = "' . $addon . '";'; - $buff[] = '$addon_time_log->called_extension = "' . $addon . '";'; + $buff[] = '$addon_time_log->called_extension = "addon";'; $buff[] = '$addon_time_log->_elapsed_time = $after_time-$before_time;'; $buff[] = 'ModuleHandler::triggerCall("XE.writeSlowlog", "after", $addon_time_log);'; }