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
This commit is contained in:
nate 2006-08-08 16:38:02 +00:00
parent 33519d37ad
commit 5792e45b09

View file

@ -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