commit | 77b513b821bf6df4b3afd4b841db93999632050e | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Thu Aug 06 14:39:25 2009 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Thu Aug 06 14:39:25 2009 +0000 |
tree | 190beb967d9b0aae3421b67e0a6eecb38f82b7ee | |
parent | 962d2258f9b2f2b8e3dbce7368b69673e839eb54 [diff] [blame] |
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/
diff --git a/system/codeigniter/CodeIgniter.php b/system/codeigniter/CodeIgniter.php index 5cf7d2f..1671287 100644 --- a/system/codeigniter/CodeIgniter.php +++ b/system/codeigniter/CodeIgniter.php
@@ -58,7 +58,7 @@ */ set_error_handler('_exception_handler'); -if ( ! is_php(5.3)) +if ( ! is_php('5.3')) { @set_magic_quotes_runtime(0); // Kill magic quotes }