From 172d4d8b9ce63681d647ebefb5e33342ce219eff Mon Sep 17 00:00:00 2001 From: akasima Date: Fri, 8 Nov 2013 07:04:43 +0000 Subject: [PATCH] =?UTF-8?q?ssue=203635=20=EC=9D=B8=EC=8A=A4=ED=86=A8?= =?UTF-8?q?=EC=8B=9C=20php=20version=20check=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13190 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/install/install.controller.php | 6 ++++-- modules/install/lang/lang.xml | 12 ++---------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/modules/install/install.controller.php b/modules/install/install.controller.php index a6954894f..9878bdc3f 100644 --- a/modules/install/install.controller.php +++ b/modules/install/install.controller.php @@ -330,7 +330,9 @@ class installController extends install // Check each item $checklist = array(); // 0. check your version of php (5.2.4 upper) - if(version_compare(phpversion(), '5.2.4') == -1) $checklist['php_version'] = false; + $checkPHPVersion = phpversion(); + $checkPHPVersion = "5.2.1"; + if(version_compare($checkPHPVersion, '5.2.4') == -1) $checklist['php_version'] = false; else $checklist['php_version'] = true; // 1. Check permission if(is_writable('./')||is_writable('./files')) $checklist['permission'] = true; @@ -357,7 +359,7 @@ class installController extends install // Save the checked result to the Context Context::set('checklist', $checklist); Context::set('install_enable', $install_enable); - Context::set('phpversion', phpversion()); + Context::set('phpversion', $checkPHPVersion); return $install_enable; } diff --git a/modules/install/lang/lang.xml b/modules/install/lang/lang.xml index de8030d4a..a62f01978 100644 --- a/modules/install/lang/lang.xml +++ b/modules/install/lang/lang.xml @@ -155,16 +155,8 @@ - - - - - - - - - - + +