diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-13 05:28:16 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-13 05:28:16 +0200 |
commit | 5cf664748ee295867f593d7eb7991bd35fe8eca6 (patch) | |
tree | 428a9df2332e0bebff44d7e92a0a09a598fe80fc | |
parent | 0fd8f0201d843b0b4a2de614c9be2b060d1787fc (diff) |
adjusted eval() statement in Loader to accommodate servers with short_open_tag disabled with the new change of removing closing PHP tags from files
-rw-r--r-- | system/libraries/Loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index b5a69bbdd..7c6da8849 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -703,7 +703,7 @@ class CI_Loader { if ((bool) @ini_get('short_open_tag') === FALSE AND config_item('rewrite_short_tags') == TRUE)
{
- echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))).'<?php ');
+ echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
}
else
{
|