관리자에선 스킨의 스타일 로드하지 않도록 수정
This commit is contained in:
26
head.sub.php
26
head.sub.php
@ -45,18 +45,20 @@ header("Pragma: no-cache"); // HTTP/1.0
|
||||
<link rel="stylesheet" href="<?=G4_CSS_URL?>/<?=(G4_IS_MOBILE?'mobile':'default')?>.css?=<?=date("md")?>">
|
||||
<?}?>
|
||||
<? // 스킨의 style sheet 불러옴
|
||||
if(isset($board_skin_path))
|
||||
echo get_skin_stylesheet($board_skin_path);
|
||||
if(isset($member_skin_path))
|
||||
echo get_skin_stylesheet($member_skin_path);
|
||||
if(isset($new_skin_path))
|
||||
echo get_skin_stylesheet($new_skin_path);
|
||||
if(isset($search_skin_path))
|
||||
echo get_skin_stylesheet($search_skin_path);
|
||||
if(isset($connect_skin_path))
|
||||
echo get_skin_stylesheet($connect_skin_path);
|
||||
if(isset($poll_skin_path))
|
||||
echo get_skin_stylesheet($poll_skin_path);
|
||||
if (!defined('G4_IS_ADMIN')) {
|
||||
if(isset($board_skin_path))
|
||||
echo get_skin_stylesheet($board_skin_path);
|
||||
if(isset($member_skin_path))
|
||||
echo get_skin_stylesheet($member_skin_path);
|
||||
if(isset($new_skin_path))
|
||||
echo get_skin_stylesheet($new_skin_path);
|
||||
if(isset($search_skin_path))
|
||||
echo get_skin_stylesheet($search_skin_path);
|
||||
if(isset($connect_skin_path))
|
||||
echo get_skin_stylesheet($connect_skin_path);
|
||||
if(isset($poll_skin_path))
|
||||
echo get_skin_stylesheet($poll_skin_path);
|
||||
}
|
||||
?>
|
||||
<!--[if lte IE 8]>
|
||||
<script src="<?=G4_JS_URL?>/html5.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user