commit | 24bd230337cc469941dbdb51e05351cc1b3fbe14 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Tue Jun 05 22:29:12 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Tue Jun 05 22:29:12 2012 +0300 |
tree | 5f2eacd7a20c361505cae89f4ee6d1f5adf5eb78 | |
parent | 6ef498b49946ba74d610b3805fb908b163a7f03a [diff] [blame] |
Fix a magic_quotes-related bug and changed the default parameter value for is_php()
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index b3e984d..50eae8f 100755 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php
@@ -73,7 +73,7 @@ */ set_error_handler('_exception_handler'); - if ( ! is_php('5.3')) + if ( ! is_php('5.4')) { @set_magic_quotes_runtime(0); // Kill magic quotes }