* Fix url of file.

This commit is contained in:
zhujinyong
2022-04-14 12:58:20 +08:00
parent 123bad60f1
commit d2fd124cb9
+1 -1
View File
@@ -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
{