설치시 변수선언 notice 오류 수정

This commit is contained in:
gnuboard
2013-05-10 16:34:50 +09:00
parent c3c79f3335
commit 8e20f80cd2

View File

@ -57,9 +57,18 @@ define('G4_SYNDI_DIR', 'syndi');
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);