phpuri 추가. root, shredIcon, gameIage 경로 계산 코드를 추가
This commit is contained in:
1 parent
9108ce3f19
commit
f060716a3c
17 files changed
+438
-42
No files matched your search
@@ -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