尝试兼容linux

This commit is contained in:
巴掌 committed 2020-11-04 22:40:45 +08:00
1 parent 6c807099e6
commit a45290ff2a
10 files changed
+65 -3941

No files matched your search

+2 -1
View File
@@ -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) {