* task # 490

This commit is contained in:
womenyiqi_123@163.com
2011-06-23 01:17:04 +00:00
parent c10101f436
commit 2968bb88a9
+1 -1
View File
@@ -109,7 +109,7 @@ class extension extends control
$this->view->error = sprintf($this->lang->extension->errorDownloadFailed, $packageFile);
die($this->display());
}
elseif(md5_file($packageFile) == $md5)
elseif($md5 != '' and md5_file($packageFile) != $md5)
{
unlink($packageFile);
$this->view->error = sprintf($this->lang->extension->errorMd5Checking, $packageFile);