From 1dd52b143bfc6ea74e1d9af235bc251cdb8e4e73 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Thu, 27 Jun 2013 00:56:52 +0000 Subject: [PATCH] * adjust the qrcode. * remove the code of qrcode.html.php to control.php. --- module/misc/control.php | 2 +- module/misc/view/qrcode.html.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 module/misc/view/qrcode.html.php diff --git a/module/misc/control.php b/module/misc/control.php index 18784b945b..d690511266 100644 --- a/module/misc/control.php +++ b/module/misc/control.php @@ -129,7 +129,7 @@ class misc extends control */ public function qrCode($mode = 'template') { - if($mode == 'template') die($this->display()); + if($mode == 'template') die("
"); $ciqrcode = $this->app->loadClass('ciqrcode'); $loginAPI = common::getSysURL() . $this->config->webRoot; diff --git a/module/misc/view/qrcode.html.php b/module/misc/view/qrcode.html.php deleted file mode 100644 index 10e4c166d2..0000000000 --- a/module/misc/view/qrcode.html.php +++ /dev/null @@ -1 +0,0 @@ -
' />