통합 서버 관리자의 파일 경로 코드를 문자열로 변경.

This commit is contained in:
2018-03-07 21:29:48 +09:00
parent 7206826974
commit bc3a6cf86e
55 changed files with 183 additions and 204 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_CONFIG.W.SETTING.PHP);
require_once(ROOT.'/f_config/SETTING.php');
if($SETTING->isExist()) {
require_once($SETTING->getSettingFile());
+2 -2
View File
@@ -1,7 +1,7 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._Mail.php');
require_once(ROOT.W.F_CONFIG.W.SETTING.PHP);
require_once(ROOT.'/f_func/class._Mail.php');
require_once(ROOT.'/f_config/SETTING.php');
if($SETTING->isExist()) {
$MAIL = new _Mail();
+4 -4
View File
@@ -1,14 +1,14 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._Session.php');
require_once(ROOT.'/f_func/class._Session.php');
$SESSION = new _Session();
if($SESSION->IsLoggedIn() == false) {
// echo('<script>window.top.entrance.location.replace("'.ROOT.W.'indexLogin.php");</script>');
header ("Location: ".ROOT.W.'i_login/login.php');
// echo('<script>window.top.entrance.location.replace("'.ROOT.'/indexLogin.php");</script>');
header ("Location: ".ROOT.'/i_login/login.php');
exit(1);
//echo('<script>window.top.entrance.location.replace("'.ROOT.W.'i_login/login.php");</script>');
//echo('<script>window.top.entrance.location.replace("'.ROOT.'/i_login/login.php");</script>');
//exit(1);
}
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._Setting.php');
require_once(ROOT.'/f_func/class._Setting.php');
$SETTING = new _Setting(ROOT);
+2 -2
View File
@@ -3,8 +3,8 @@ if(!defined('ROOT')){
define('ROOT', '..');
}
require_once(ROOT.'/f_config/config.php');
require_once(ROOT.W.F_CONFIG.W.APP.PHP);
require_once(ROOT.W.F_FUNC.W.FUNC.PHP);
require_once(ROOT.'/f_config/app.php');
require_once(ROOT.'/f_func/func.php');
CustomHeader();
+6 -6
View File
@@ -1,6 +1,6 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._Setting.php');
require_once(ROOT.'/f_func/class._Setting.php');
define('POPUP', 'popup');
@@ -18,9 +18,9 @@ define('MANAGE', 'manage');
define('ICON', 'icon');
$serverList = [
'che'=>['체', 'white', new _Setting(__DIR__.ROOT.W.'che')],
'kwe'=>['퀘', 'yellow', new _Setting(__DIR__.ROOW.W.'kwe')],
'pwe'=>['풰', 'orange', new _Setting(__DIR__.ROOW.W.'pwe')],
'twe'=>['퉤', 'magenta', new _Setting(__DIR__.ROOW.W.'twe')],
'hwe'=>['훼', 'red', new _Setting(__DIR__.ROOW.W.'hwe')]
'che'=>['체', 'white', new _Setting(__DIR__.ROOT.'/che')],
'kwe'=>['퀘', 'yellow', new _Setting(__DIR__.ROOT.'/kwe')],
'pwe'=>['풰', 'orange', new _Setting(__DIR__.ROOT.'/pwe')],
'twe'=>['퉤', 'magenta', new _Setting(__DIR__.ROOT.'/twe')],
'hwe'=>['훼', 'red', new _Setting(__DIR__.ROOT.'/hwe')]
];