mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修正注释
This commit is contained in:
parent
e011566f09
commit
a79b0cab29
@ -156,7 +156,7 @@ class FileService
|
||||
*/
|
||||
public static function getBaseUriLocal()
|
||||
{
|
||||
$appRoot = request()->root(true); // 如果你想获取相对url地址,这里改成 false
|
||||
$appRoot = request()->root(true); // 如果你想获取相对url地址,这里把掉参数 true
|
||||
$uriRoot = preg_match('/\.php$/', $appRoot) ? dirname($appRoot) : $appRoot;
|
||||
return "{$uriRoot}/static/upload/";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user