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 {