diff --git a/shop/_common.php b/shop/_common.php index 2962729c9..5cdeec8c4 100644 --- a/shop/_common.php +++ b/shop/_common.php @@ -1,6 +1,19 @@ \'\"\%\=\(\)\s]/", "", $sort); +} else { + $sort = ''; +} + +if (isset($_REQUEST['sortodr'])) { + $sortodr = preg_match("/^(asc|desc)$/i", $sortodr) ? $sortodr : ''; +} else { + $sortodr = ''; +} + if (!defined('G5_USE_SHOP') || !G5_USE_SHOP) die('
쇼핑몰 설치 후 이용해 주십시오.
'); define('_SHOP_', true);