From 814519a2aa22f94992895c416c30e819cf9ad815 Mon Sep 17 00:00:00 2001 From: BJRambo Date: Thu, 4 May 2017 12:33:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AD=EC=A0=9C=ED=95=A0=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0=20=ED=95=B4=EB=8B=B9=20=EC=82=AD=EC=A0=9C=EB=82=A0?= =?UTF-8?q?=EC=9E=90=EB=A5=BC=20=EA=B8=B0=EB=A1=9D=ED=95=98=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=B8=8C=EC=A0=9D=ED=8A=B8=EB=A5=BC=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=ED=95=98=EA=B3=A0=20=EC=95=88=EC=97=90=20=EA=B8=B0?= =?UTF-8?q?=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ncenterlite.admin.controller.php | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/modules/ncenterlite/ncenterlite.admin.controller.php b/modules/ncenterlite/ncenterlite.admin.controller.php index 412775dba..42cc880c8 100644 --- a/modules/ncenterlite/ncenterlite.admin.controller.php +++ b/modules/ncenterlite/ncenterlite.admin.controller.php @@ -165,7 +165,15 @@ class ncenterliteAdminController extends ncenterlite $this->setMessage('ncenterlite_message_delete_notification_all'); } - $this->removeAllFlagFile(); + $flag_path = \RX_BASEDIR . 'files/cache/ncenterlite/new_notify/regdate_new.php'; + if(!FileHandler::isDir(\RX_BASEDIR . 'files/cache/ncenterlite/new_notify')) + { + FileHandler::makeDir(\RX_BASEDIR . 'files/cache/ncenterlite/new_notify/'); + } + $reg_obj = new stdClass(); + $reg_obj->regdate = date('YmdHis'); + $buff = "setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispNcenterliteAdminCustomList')); } } - - function removeAllFlagFile() - { - $flag_path = \RX_BASEDIR . 'files/cache/ncenterlite/new_notify/'; - if(FileHandler::isDir($flag_path)) - { - FileHandler::removeFilesInDir($flag_path); - } - } }