cf_add_script 값 출력되지 않던 오류 수정

This commit is contained in:
chicpro
2013-05-06 20:02:23 +09:00
parent 881e049425
commit ed54791188
2 changed files with 8 additions and 7 deletions

View File

@ -265,5 +265,5 @@ if (isset($page)) $arr_query[] = 'page='.$page;
$qstr = implode("&", $arr_query); $qstr = implode("&", $arr_query);
// 관리자에서는 추가 스크립트는 사용하지 않는다. // 관리자에서는 추가 스크립트는 사용하지 않는다.
$config['cf_add_script'] = ''; //$config['cf_add_script'] = '';
?> ?>

View File

@ -76,7 +76,8 @@ if ($is_admin) {
if(G4_IS_MOBILE) { if(G4_IS_MOBILE) {
echo '<script> set_cookie("device_width", screen.width, 6, g4_cookie_domain); </script>'.PHP_EOL; echo '<script> set_cookie("device_width", screen.width, 6, g4_cookie_domain); </script>'.PHP_EOL;
} }
echo $config['cf_add_script']; if(!defined('G4_IS_ADMIN'))
echo $config['cf_add_script'];
?> ?>
</head> </head>
<body> <body>