Context 변수 html_footer 충돌 문제 수정

관리자 페이지에서는 photoswipe 꺼두기
시스템 설정의 redirect_url 조정
This commit is contained in:
conory 2016-05-04 20:18:46 +09:00
parent f0fc9dce29
commit cfa151b8c2
4 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@ if(!defined('RX_VERSION'))
* @author MinSoo Kim <misol.kr@gmail.com>
* @brief Add-on to highlight an activated image.
*/
if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML" && !isCrawler())
if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML" && Context::get('module') != 'admin' && !isCrawler())
{
Context::loadFile(array('./addons/photoswipe/PhotoSwipe/photoswipe.css', '', '', null), true);
Context::loadFile(array('./addons/photoswipe/PhotoSwipe/default-skin/default-skin.css', '', '', null), true);