diff --git a/app/common/library/upload/driver/Local.php b/app/common/library/upload/driver/Local.php index a575d4db..dd496ff7 100644 --- a/app/common/library/upload/driver/Local.php +++ b/app/common/library/upload/driver/Local.php @@ -102,7 +102,7 @@ class Local extends Driver if (preg_match('/^http(s)?:\/\//', $saveName) || preg_match($regex, $saveName) || $domain === false) { return $saveName; } - return $domain . $saveName; + return str_replace('\\', '/', $domain . $saveName); } /**