From 63004a95e4a2ea61d133cc0007920d93dc564b05 Mon Sep 17 00:00:00 2001 From: wwccss Date: Wed, 2 Jul 2014 13:57:56 +0800 Subject: [PATCH 1/3] * adjust code. --- module/task/view/finish.html.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/module/task/view/finish.html.php b/module/task/view/finish.html.php index 7a8221c6de..99fab83475 100644 --- a/module/task/view/finish.html.php +++ b/module/task/view/finish.html.php @@ -44,7 +44,5 @@ -
- -
+
From af24001dbf1bc0ded8da393b030f912d12acfd6e Mon Sep 17 00:00:00 2001 From: wwccss Date: Wed, 2 Jul 2014 13:58:08 +0800 Subject: [PATCH 2/3] * add the guest user check logic. --- www/loader-wizard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/loader-wizard.php b/www/loader-wizard.php index 545afa60ba..f8a1454153 100755 --- a/www/loader-wizard.php +++ b/www/loader-wizard.php @@ -1,8 +1,8 @@ -sessionVar); session_start(); -if(!isset($_SESSION['user'])) header('location:index.php'); +if(!isset($_SESSION['user']) or $_SESSION['user']->account == 'guest') die(header('location:index.php')); /** * ionCube Loader install Wizard From f2725ee27d9a9bf499ea3f04dcf26eafcca7992d Mon Sep 17 00:00:00 2001 From: wwccss Date: Wed, 2 Jul 2014 13:59:42 +0800 Subject: [PATCH 3/3] * rename loader-wizard.php to ioncube.php. --- www/{loader-wizard.php => ioncube.php} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename www/{loader-wizard.php => ioncube.php} (100%) diff --git a/www/loader-wizard.php b/www/ioncube.php similarity index 100% rename from www/loader-wizard.php rename to www/ioncube.php