diff options
author | Derek Jones <derek.jones@ellislab.com> | 2009-08-06 16:39:25 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2009-08-06 16:39:25 +0200 |
commit | 77b513b821bf6df4b3afd4b841db93999632050e (patch) | |
tree | 190beb967d9b0aae3421b67e0a6eecb38f82b7ee /system/codeigniter/CodeIgniter.php | |
parent | 962d2258f9b2f2b8e3dbce7368b69673e839eb54 (diff) |
fixed a bug in r1718 where the PHP version key was cast as float in a particular test, making the array keys used by is_php() inaccurate beyond whole number versions
http://codeigniter.com/bug_tracker/bug/8475/
Diffstat (limited to 'system/codeigniter/CodeIgniter.php')
-rw-r--r-- | system/codeigniter/CodeIgniter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 5cf7d2fdc..1671287d0 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php @@ -58,7 +58,7 @@ require(APPPATH.'config/constants'.EXT); */ set_error_handler('_exception_handler'); -if ( ! is_php(5.3)) +if ( ! is_php('5.3')) { @set_magic_quotes_runtime(0); // Kill magic quotes } |