common.php 에서 install 폴더 체크 주석처리

This commit is contained in:
chicpro
2013-03-14 09:39:49 +09:00
parent cc5063d012
commit 8ba59fe9b0
7 changed files with 65 additions and 63 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
data
dbconfig.php

View File

@ -252,7 +252,7 @@ $dirname = dirname(__FILE__).'/';
$dbconfig_file = "dbconfig.php"; $dbconfig_file = "dbconfig.php";
if (file_exists("$g4[path]/$dbconfig_file")) 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 type='text/javascript'> alert('install 디렉토리를 삭제하여야 정상 실행됩니다.'); </script>"); //if (is_dir("$g4[path]/install")) die("<meta http-equiv='content-type' content='text/html; charset=$g4[charset]'><script type='text/javascript'> alert('install 디렉토리를 삭제하여야 정상 실행됩니다.'); </script>");
include_once("$g4[path]/$dbconfig_file"); include_once("$g4[path]/$dbconfig_file");
$connect_db = sql_connect($mysql_host, $mysql_user, $mysql_password); $connect_db = sql_connect($mysql_host, $mysql_user, $mysql_password);

BIN
company_h

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

BIN
logo_img

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

BIN
main_img

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

BIN
privacy_h

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB