From d2fd124cb9f29f6fc427d0f65e6e8d197a6beafb Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Thu, 14 Apr 2022 12:58:20 +0800 Subject: [PATCH] * Fix url of file. --- module/file/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/file/control.php b/module/file/control.php index ff7000a096..68b279252b 100644 --- a/module/file/control.php +++ b/module/file/control.php @@ -80,7 +80,7 @@ class file extends control { if($uid) $_SESSION['album']['used'][$uid][$fileID] = $fileID; $_SERVER['SCRIPT_NAME'] = 'index.php'; - return $this->send(array('status' => 'success', 'id' => $fileID, 'url' => commonModel::getSysURL() . $this->config->webRoot . $url)); + return $this->send(array('status' => 'success', 'id' => $fileID, 'url' => $url)); } else {