#64 서버 내 경로를 절대경로로 변경

This commit is contained in:
bnu 2013-11-22 14:57:24 +09:00
parent bf0dd35f0a
commit 932862be1f
42 changed files with 807 additions and 133 deletions

View file

@ -173,7 +173,7 @@ class adminAdminController extends admin
$buff = '';
if(is_readable($siteDesignFile))
{
@include($siteDesignFile);
include($siteDesignFile);
}
else
{
@ -294,8 +294,7 @@ class adminAdminController extends admin
{
if($favorite->type == 'module')
{
$modulePath = './modules/' . $favorite->module;
$modulePath = FileHandler::getRealPath($modulePath);
$modulePath = _XE_PATH_ . 'modules/' . $favorite->module;
if(!is_dir($modulePath))
{
$deleteTargets[] = $favorite->admin_favorite_srl;