diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-06 13:58:37 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-06 13:58:37 +0100 |
commit | 4c598360d646f734d254d45b397bc26984999f0a (patch) | |
tree | 8fb31c27453edcde0214a6f553db9b207f49ce1c /system/core/Loader.php | |
parent | 27984584d83784b39cf68e39200084ca2c8dc905 (diff) | |
parent | 658e7b8e5d7953648f9cfe8cff082471cc292b68 (diff) |
Merge upstream branch
Diffstat (limited to 'system/core/Loader.php')
-rw-r--r-- | system/core/Loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 12daaa928..20cf7ef33 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -833,7 +833,7 @@ class CI_Loader { // If the PHP installation does not support short tags we'll // do a little string replacement, changing the short tags // to standard PHP echo statements. - if ((bool) @ini_get('short_open_tag') === FALSE AND config_item('rewrite_short_tags') == TRUE) + if ( ! is_php('5.4') && (bool) @ini_get('short_open_tag') === FALSE && config_item('rewrite_short_tags') == TRUE) { echo eval('?>'.preg_replace('/;*\s*\?>/', '; ?>', str_replace('<?=', '<?php echo ', file_get_contents($_ci_path)))); } |