PHP_SELF 를 SCRIPT_NAME 으로 변경

This commit is contained in:
chicpro
2015-06-24 17:26:46 +09:00
parent 9b4431fbb4
commit 705a2ea947
45 changed files with 75 additions and 75 deletions

View File

@ -85,7 +85,7 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
$com_name = '커뮤니티';
if($default['de_shop_layout_use']) {
if(!preg_match('#'.G5_SHOP_DIR.'/#', $_SERVER['PHP_SELF'])) {
if(!preg_match('#'.G5_SHOP_DIR.'/#', $_SERVER['SCRIPT_NAME'])) {
$com_href = G5_SHOP_URL;
$com_name = '쇼핑몰';
}