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

This commit is contained in:
2018-04-08 18:38:01 +09:00
parent 9108ce3f19
commit f060716a3c
17 changed files with 438 additions and 42 deletions
+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()) {