phpuri 추가. root, shredIcon, gameIage 경로 계산 코드를 추가
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user