LFI 취약점(16-679) 수정

This commit is contained in:
chicpro
2016-09-06 11:33:58 +09:00
parent b3feb75808
commit 20fe8feb1c
4 changed files with 10 additions and 2 deletions

View File

@ -40,8 +40,10 @@ if ($sort != "")
else
$order_by = 'b.it_order, b.it_id desc';
if ($skin)
if ($skin) {
$skin = preg_replace('#\.+/#', '', $skin);
$ev['ev_skin'] = $skin;
}
define('G5_SHOP_CSS_URL', G5_SHOP_SKIN_URL);