summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-17 04:36:31 +0200
committeradmin <devnull@localhost>2006-10-17 04:36:31 +0200
commit94fe038a62c5d535920464266ae404b5e028f662 (patch)
tree11d1b129d7b8422ae7a682f830e946804242aee4 /system
parent9cd4cd5e26c98c055dc5766a9ac929609f54e910 (diff)
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Loader.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php
index ba98a642a..bc2e9dec7 100644
--- a/system/libraries/Loader.php
+++ b/system/libraries/Loader.php
@@ -599,8 +599,8 @@ class CI_Loader {
if (ini_get("short_open_tag") == 0)
{
$file = file_get_contents($path);
- $file = str_replace('<?=', '<?php echo', $file);
- $file = preg_replace("/;*\s*\?>/", " ;?>", $file);
+ $file = str_replace('<?=', '<?php echo ', $file);
+ $file = preg_replace("/;*\s*\?>/", ' ;?>', $file);
echo eval('?>'.$file.'<?php ');
}