일부 미사용 변수 정리

대문 css 정리
This commit is contained in:
2018-03-22 02:40:32 +09:00
parent 683138457f
commit e9672c98ef
6 changed files with 26 additions and 54 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ function doServerModeSet($server, $action, &$response){
$serverDir = $settingObj->getShortName();
$serverPath = $settingObj->getBasePath();
$realServerPath = realpath(dirname(__FILE__)).W.$serverPath;
$realServerPath = realpath(dirname(__FILE__)).'/'.$serverPath;
if($action == 'close') { //폐쇄
$templates = new League\Plates\Engine('templates');
@@ -59,7 +59,7 @@ function doServerModeSet($server, $action, &$response){
@unlink($serverPath.'/d_setting/conf.php');
}
$response['installURL'] = $serverDir.W."install.php";
$response['installURL'] = $serverDir."/install.php";
} elseif($action == 'open') {//오픈
if(file_exists($serverPath.'/.htaccess')){
@unlink($serverPath.'/.htaccess');
+2 -2
View File
@@ -18,7 +18,7 @@ $db = getRootDB();
$member = $db->queryFirstRow('SELECT `id`, `name`, `grade`, `picture` FROM `MEMBER` WHERE `NO` = %i', $SESSION->NoMember());
if(!$member['picture']){
$picture = IMAGE.W.'default.jpg';
$picture = IMAGE.'/default.jpg';
}
else{
$picture = $member['picture'];
@@ -27,7 +27,7 @@ else{
}
$picture = '../d_pic/'.$picture;
if(!file_exists($picture)){
$picture = IMAGE.W.$picture;
$picture = IMAGE.'/'.$picture;
}
}