autoload 경로 재 변경

kakao를 별도의 namespace로 분리
외부 class의 namespace 문제 해결
This commit is contained in:
2018-03-24 18:46:37 +09:00
parent dc507601f5
commit 037a29ad02
25 changed files with 44 additions and 241 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ function doServerModeSet($server, $action, &$response){
$realServerPath = realpath(dirname(__FILE__)).'/'.$serverPath;
if($action == 'close') { //폐쇄
$templates = new League\Plates\Engine('templates');
$templates = new \League\Plates\Engine('templates');
//TODO: .htaccess가 서버 오픈에도 사용될 수 있으니 별도의 방법이 필요함
$allow_ip = util::get_client_ip(false);