git rm -r --cached .
This commit is contained in:
15
config.php
15
config.php
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?<?php
|
||||
|
||||
/********************
|
||||
상수 선언
|
||||
@ -53,13 +53,20 @@ define('G4_SNS_DIR', 'sns');
|
||||
define('G4_SYNDI_DIR', 'syndi');
|
||||
|
||||
// URL 은 브라우저상에서의 경로 (도메인으로 부터의)
|
||||
|
||||
if (G4_DOMAIN) {
|
||||
define('G4_URL', G4_DOMAIN);
|
||||
} else {
|
||||
define('G4_URL', $g4_path['url']);
|
||||
if (isset($g4_path['url']))
|
||||
define('G4_URL', $g4_path['url']);
|
||||
else
|
||||
define('G4_URL', '');
|
||||
}
|
||||
|
||||
if (isset($g4_path['path'])) {
|
||||
define('G4_PATH', $g4_path['path']);
|
||||
} else {
|
||||
define('G4_PATH', '');
|
||||
}
|
||||
define('G4_PATH', $g4_path['path']);
|
||||
|
||||
define('G4_ADMIN_URL', G4_URL.'/'.G4_ADMIN_DIR);
|
||||
define('G4_BBS_URL', G4_URL.'/'.G4_BBS_DIR);
|
||||
|
||||
Reference in New Issue
Block a user