mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
33519d37ad
commit
5792e45b09
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||||
*/
|
*/
|
||||||
if (!defined('PHP5')) {
|
if (!defined('PHP5')) {
|
||||||
define ('PHP5', (bool)phpversion() > 5);
|
define ('PHP5', (phpversion() >= 5));
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Configuration, directory layout and standard libraries
|
* Configuration, directory layout and standard libraries
|
||||||
|
|
Loading…
Add table
Reference in a new issue