From 95890dce1aa63d89be2a7ad6e4f36e561b388840 Mon Sep 17 00:00:00 2001 From: printempw Date: Tue, 5 Apr 2016 14:15:35 +0800 Subject: [PATCH] output error msg if failed to open zip --- templates/admin/download.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/admin/download.tpl.php b/templates/admin/download.tpl.php index 5a36f71a..be2c1fdb 100644 --- a/templates/admin/download.tpl.php +++ b/templates/admin/download.tpl.php @@ -30,7 +30,7 @@ echo "

正在解压更新包

"; $zip->extractTo($extract_dir); } else { - exit('

更新包解压缩失败。

'); + exit('

更新包解压缩失败。详细信息:'.$zip.'

'); } $zip->close();