From 3f38f32f99682654435d4e3d9010fe379a4b46dc Mon Sep 17 00:00:00 2001 From: bnu Date: Fri, 4 Apr 2014 18:26:20 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#623=20stable=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=EC=9D=B4=20=EC=95=84=EB=8B=88=EB=A9=B4=20.min=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EB=8C=80=EC=8B=A0=20=EC=9B=90=EB=B3=B8=EC=9D=84=20?= =?UTF-8?q?load=20=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/display/HTMLDisplayHandler.php | 6 +++--- classes/frontendfile/FrontEndFileHandler.class.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/classes/display/HTMLDisplayHandler.php b/classes/display/HTMLDisplayHandler.php index cc1a5de96..2026fe4bc 100644 --- a/classes/display/HTMLDisplayHandler.php +++ b/classes/display/HTMLDisplayHandler.php @@ -394,7 +394,7 @@ class HTMLDisplayHandler $lang_type = Context::getLangType(); // add common JS/CSS files - if(__DEBUG__) + if(__DEBUG__ || !_XE_VERSION_STABLE__) { $oContext->loadFile(array('./common/js/jquery-1.x.js', 'head', 'lt IE 9', -111000), true); $oContext->loadFile(array('./common/js/jquery.js', 'head', 'gte IE 9', -110000), true); @@ -417,7 +417,7 @@ class HTMLDisplayHandler // for admin page, add admin css if(Context::get('module') == 'admin' || strpos(Context::get('act'), 'Admin') > 0) { - if(__DEBUG__) + if(__DEBUG__ || !_XE_VERSION_STABLE__) { $oContext->loadFile(array('./modules/admin/tpl/css/admin.css', '', '', 10), true); $oContext->loadFile(array("./modules/admin/tpl/css/admin_{$lang_type}.css", '', '', 10), true); @@ -449,7 +449,7 @@ class HTMLDisplayHandler $lang_type = Context::getLangType(); // add common JS/CSS files - if(__DEBUG__) + if(__DEBUG__ || !_XE_VERSION_STABLE__) { $oContext->loadFile(array('./common/css/mobile.css', '', '', -1000000), true); } diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index fa453089a..78a57d145 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -160,7 +160,7 @@ class FrontEndFileHandler extends Handler if(strpos($file->filePath, '://') === FALSE) { - if(!__DEBUG__) + if(!__DEBUG__ && _XE_VERSION_STABLE__) { // if no debug mode, load minifed file $minifiedFileName = implode('.', array($file->fileNameNoExt, 'min', $file->fileExtension));