phpuri 추가. root, shredIcon, gameIage 경로 계산 코드를 추가

This commit is contained in:
Hide_D committed 2018-04-08 18:38:01 +09:00
1 parent 9108ce3f19
commit f060716a3c
17 files changed
+438 -42

No files matched your search

+5
View File
@@ -12,6 +12,11 @@ class WebUtil
return str_replace('.', '\\.', $ip);
}
public static function resolveRelativePath(string $path, string $basepath) : string
{
return \phpUri::parse($basepath)->join($path);
}
public static function setHeaderNoCache()
{
if (!headers_sent()) {