From 5792e45b095160bd56e82cf381c235b499d9b065 Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 8 Aug 2006 16:38:02 +0000 Subject: [PATCH] Fixing PHP5 evaluation for versions below 5.1 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3386 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/bootstrap.php b/cake/bootstrap.php index e3550f72f..6d0638172 100644 --- a/cake/bootstrap.php +++ b/cake/bootstrap.php @@ -27,7 +27,7 @@ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ if (!defined('PHP5')) { - define ('PHP5', (bool)phpversion() > 5); + define ('PHP5', (phpversion() >= 5)); } /** * Configuration, directory layout and standard libraries