no message
This commit is contained in:
parent
3967ac8b87
commit
e23ec19d0d
@ -78,7 +78,7 @@ class ArticleController
|
|||||||
|
|
||||||
if (is_file($sFilePath) && file_exists($sFilePath)) {
|
if (is_file($sFilePath) && file_exists($sFilePath)) {
|
||||||
if (unlink($sFilePath)) {
|
if (unlink($sFilePath)) {
|
||||||
$this->aNewPath[] = $this->sArticleCode."删除成功";
|
$this->aNewPath[] = $_ENV["APP_URL"]."::".$this->sArticleCode."删除成功";
|
||||||
} else {
|
} else {
|
||||||
$sMsg = '删除失败(可能是权限或被占用)';
|
$sMsg = '删除失败(可能是权限或被占用)';
|
||||||
throw new \Exception($sMsg);
|
throw new \Exception($sMsg);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user