尝试兼容linux
This commit is contained in:
1 parent
6c807099e6
commit
a45290ff2a
10 files changed
+65
-3941
No files matched your search
@@ -73,7 +73,8 @@ class Fields extends AdminBase
|
||||
$oldname = $filist->oldname;
|
||||
}
|
||||
|
||||
$url = public_path() . 'uploads\\' . $filist->url;
|
||||
$fengefu = DIRECTORY_SEPARATOR;
|
||||
$url = public_path() . 'uploads' . $fengefu . $filist->url;
|
||||
|
||||
$data = file_exists($url);
|
||||
if ($data === true) {
|
||||
|
||||
Reference in new issue
Block a user