최근게시물 common.php 인클루드 안하고 나오게 할수있나요?? 정보
최근게시물 common.php 인클루드 안하고 나오게 할수있나요??본문
최근게시물 common.php 인클루드 안하고 나오게 할수있나요??
최근게시물만 아이프레임으로 빼서 다른사이트에 넣어놨는데
방문자수가 체크가 되서요 ㅡ,ㅡ
common.php 보니깐
// 방문자수의 접속을 남김
include_once("{$g4['bbs_path']}/visit_insert.inc.php");
이게 있던데 이걸 지울수도 없고;;
최근게시물을 common.php 인클루드 안하고 나오게 할수있는 방법이 없을까요??
최근게시물만 아이프레임으로 빼서 다른사이트에 넣어놨는데
방문자수가 체크가 되서요 ㅡ,ㅡ
common.php 보니깐
// 방문자수의 접속을 남김
include_once("{$g4['bbs_path']}/visit_insert.inc.php");
이게 있던데 이걸 지울수도 없고;;
최근게시물을 common.php 인클루드 안하고 나오게 할수있는 방법이 없을까요??
댓글 전체
꼭해야되나요
그럼 최근게시물 최상단에 if(!defined...뭐시기 빼주시면 될듯
그럼 최근게시물 최상단에 if(!defined...뭐시기 빼주시면 될듯
common.php에서
$dbconfig_file = "dbconfig.php";
if (file_exists("$g4[path]/$dbconfig_file"))
{
if (is_dir("$g4[path]/install")) die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script language='JavaScript'> alert('install 디렉토리를
삭제하여야 정상 실행됩니다.'); </script>");
include_once("$g4[path]/$dbconfig_file");
$connect_db = sql_connect($mysql_host, $mysql_user, $mysql_password);
$select_db = sql_select_db($mysql_db, $connect_db);
if (!$select_db)
die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script language='JavaScript'> alert('DB 접속 오류'); </script>");
}
이 부분하고
lib/latest.lib.php하고
해당 스킨하고 다 같이 한 파일에 넣고 만들어 보세요.
$dbconfig_file = "dbconfig.php";
if (file_exists("$g4[path]/$dbconfig_file"))
{
if (is_dir("$g4[path]/install")) die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script language='JavaScript'> alert('install 디렉토리를
삭제하여야 정상 실행됩니다.'); </script>");
include_once("$g4[path]/$dbconfig_file");
$connect_db = sql_connect($mysql_host, $mysql_user, $mysql_password);
$select_db = sql_select_db($mysql_db, $connect_db);
if (!$select_db)
die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script language='JavaScript'> alert('DB 접속 오류'); </script>");
}
이 부분하고
lib/latest.lib.php하고
해당 스킨하고 다 같이 한 파일에 넣고 만들어 보세요.
큭 아무것도 안뜨면서 안되요 ㅠ
넣기만 하지 마시구요.
적절하게 수정을 하셔야 합니다.
적절하게 수정을 하셔야 합니다.