__dir__ -> __DIR__
This commit is contained in:
1 parent
baba2d34dd
commit
8f95d4b279
51 files changed
+109
-109
No files matched your search
@@ -103,7 +103,7 @@ class Setting
|
||||
if (!file_exists($this->basepath) || !is_dir($this->basepath)) {
|
||||
return false;
|
||||
}
|
||||
$templates = new \League\Plates\Engine(__dir__.'/templates');
|
||||
$templates = new \League\Plates\Engine(__DIR__.'/templates');
|
||||
//TODO: .htaccess가 서버 오픈에도 사용될 수 있으니 별도의 방법이 필요함
|
||||
$allow_ip = Util::get_client_ip(false);
|
||||
if (Util::starts_with($allow_ip, '192.168.') ||
|
||||
|
||||
Reference in new issue
Block a user