head.php수정관련

head.php수정관련

QA

head.php수정관련

답변 1

본문

딜레마에 빠졌습니다.

head.php내의 asset을 /asset/로 바꾸면 홈페이지가 죽고 게시판은 쓸수가 있습니다.
반대로 하면 홈페이지가 올바르게 표출됩니다.

둘다 쓸수있는 묘안이 없을까요? 

그누보드 힘드네요ㅜㅜ


<?php
include_once('./_common.php');
// include_once(G5_THEME_PATH.'/head.sub.php');
include_once(G5_LIB_PATH.'/latest.lib.php');
include_once(G5_LIB_PATH.'/visit.lib.php');
include_once(G5_LIB_PATH.'/connect.lib.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="shortcut icon" href="assets/images/favi/favicon.ico"> <!--추가-->
<link rel="apple-touch-icon" sizes="57x57" href="assets/images/favi/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/images/favi/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/favi/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/images/favi/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/favi/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/images/favi/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/favi/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/images/favi/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192"  href="assets/images/favi/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favi/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/images/favi/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favi/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>(주)우성이앤티</title>
<meta name="description" content="환경설비, 집진기, 기계제작, 환경설비, 전기판넬, 덕트공사, 태양광광고판등 환경오염 방지시설 전문업체">
<meta property="og:type" content="website">
<meta property="og:title" content="(주)우성이앤티">
<meta property="og:description" content="환경설비, 집진기, 기계제작, 환경설비, 전기판넬, 덕트공사, 태양광광고판등 환경오염 방지시설 전문업체">
<meta property="og:image" content="assets/images/main/c001.jpg" />
<meta property="og:url" content="<?=$_SERVER["HTTP_HOST"];?>">
<meta property="al:web:url" content="<?=$_SERVER["HTTP_HOST"].$_SERVER['REQUEST_URI'];?>">
<link rel="stylesheet" type="text/css" href="assets/css/jquery.fullPage.css" />
<link rel="stylesheet" type="text/css" href="assets/css/examples.css" />
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />    
<link rel="stylesheet" type="text/css" href="assets/css/swiper.css" />
<link rel="stylesheet" type="text/css" href="assets/css/jquery.bxslider.css" />
<!--[if IE]>
    <script type="text/javascript">
         var console = { log: function() {} };
    </script>
<![endif]-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="assets/js/scrolloverflow.js"></script>
<script type="text/javascript" src="assets/js/jquery.fullPage.js"></script>
<script type="text/javascript" src="assets/js/examples.js"></script>
<script type="text/javascript" src="assets/js/jquery.bxslider.js"></script>
<script type="text/javascript" src="assets/js/swiper.min.js"></script>
<script type="text/javascript" src="assets/js/common.js"></script>
<link href="//fonts.googleapis.com/css?family=Noto+Sans+KR" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+KR:500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Noto+Serif+KR&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lora&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Cinzel&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Martel&display=swap" rel="stylesheet">
</head>

이 질문에 댓글 쓰기 :

답변 1

assets 앞에 경로가 더 있으실텐데 풀경로를 적어보세요.

루트 디렉토리 부터요 /루트디렉토리 로 절대경로로 절대경로를 검색을 해보세요.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
filter #css ×
전체 2,087
© SIRSOFT
현재 페이지 제일 처음으로