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

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
@@ -35,7 +35,7 @@ require_once('_common.php');
</div>
<div id="EntranceManage_0016">
<input id="EntranceManage_001600" type="text">
<form id="formIcon" action="<?=ROOT.W.I.ENTRANCE.W.MANAGE.W;?>iconPost.php" method="POST" enctype="multipart/form-data">
<form id="formIcon" action="<?=ROOT?>/i_entrance/manage/iconPost.php" method="POST" enctype="multipart/form-data">
<input id="EntranceManage_001601" name="picture" type="file" size="15">
</form>
<input id="EntranceManage_001602" type="button" value="전콘변경">
+3 -3
View File
@@ -1,8 +1,8 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
require_once(ROOT.'/f_func/class._JSON.php');
require_once(ROOT.'/f_config/DB.php');
require_once(ROOT.'/f_config/SESSION.php');
// 외부 파라미터
+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();
+4 -4
View File
@@ -1,8 +1,8 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
require_once(ROOT.'/f_func/class._JSON.php');
require_once(ROOT.'/f_config/DB.php');
require_once(ROOT.'/f_config/SESSION.php');
// 외부 파라미터
@@ -22,7 +22,7 @@ else{
$dt = '00000000';
}
$dest = ROOT.W.D."pic/{$picName}";
$dest = ROOT.'/d_pic/'.$picName;
$rf = date('Ymd');
+6 -6
View File
@@ -1,7 +1,7 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
require_once(ROOT.'/f_config/DB.php');
require_once(ROOT.'/f_config/SESSION.php');
// 외부 파라미터
// $_FILES['picture'] : 사진파일
@@ -33,7 +33,7 @@ else{
$dt = '00000000';
}
$old_path = ROOT.W.D."pic/{$picName}";
$old_path = ROOT.'/d_pic/'.$picName;
$rf = date('Ymd');
@@ -65,7 +65,7 @@ if(!is_uploaded_file($image['tmp_name'])) {
while(true){
$newPicName = dechex(rand(0x000000f,0xfffffff)).$newExt;
$dest = ROOT.W.D."pic/{$newPicName}";
$dest = ROOT.'/d_pic/'.$newPicName;
if(file_exists($dest)){
continue;
}
@@ -95,8 +95,8 @@ sleep(1);
/*
echo "<script type='text/javascript'>
alert('{$response['msg']}');
location.replace('".ROOT.W.I.ENTRANCE.W.ENTRANCE.PHP."');
location.replace('".ROOT.'/i_entrance/entrance.php'."');
</script>";
*/
echo ROOT.W.I.ENTRANCE.W.ENTRANCE.PHP;//TODO:debug all and replace
echo ROOT.'/i_entrance/entrance.php';//TODO:debug all and replace
+3 -3
View File
@@ -1,8 +1,8 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
require_once(ROOT.'/f_func/class._JSON.php');
require_once(ROOT.'/f_config/DB.php');
require_once(ROOT.'/f_config/SESSION.php');
// 외부 파라미터
// $_POST['pw'] : PW
+4 -4
View File
@@ -1,9 +1,9 @@
<?php
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_FUNC.W.'class._Time.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
require_once(ROOT.'/f_func/class._JSON.php');
require_once(ROOT.'/f_func/class._Time.php');
require_once(ROOT.'/f_config/DB.php');
require_once(ROOT.'/f_config/SESSION.php');
// 외부 파라미터
// $_POST['pw'] : PW