summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-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 ');
}