summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-13 05:28:16 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-13 05:28:16 +0200
commit5cf664748ee295867f593d7eb7991bd35fe8eca6 (patch)
tree428a9df2332e0bebff44d7e92a0a09a598fe80fc
parent0fd8f0201d843b0b4a2de614c9be2b060d1787fc (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.php2
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
{