From 7a187bb754e3ea837bc23e752c272d977eaa0f1d Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sun, 13 Mar 2011 02:21:36 +0000 Subject: [PATCH] + add charset to the checkUpgrade method. --- module/common/control.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/common/control.php b/module/common/control.php index 6895e38932..cb469e0e1b 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -64,7 +64,9 @@ class common extends control if(!file_exists($statusFile) or time() - filemtime($statusFile) > 3600) { $this->app->loadLang('upgrade'); - die(printf($this->lang->upgrade->setStatusFile, $statusFile, $statusFile, $statusFile)); + echo ""; + printf($this->lang->upgrade->setStatusFile, $statusFile, $statusFile, $statusFile); + die(''); } }