mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
feat: 优化路径生成兼容性
This commit is contained in:
@@ -26,7 +26,7 @@ class PathToolsBase
|
||||
|
||||
public static function publicBuildSaveName($file_name)
|
||||
{
|
||||
return '/build/' . $file_name;
|
||||
return '/build/' . ltrim($file_name, '/');
|
||||
}
|
||||
|
||||
public static function safeBuildPath($save_name)
|
||||
|
||||
Reference in New Issue
Block a user