[eluser]Unknown[/eluser]
After upgrading to 1.6.2, PHP short tags are not working anymore when the following configurations are used.
From system/application/config/config.php:
Code:
$config['rewrite_short_tags'] = TRUE;
From php.ini:
Code:
short_open_tag = Off
These produce the error:
Code:
Parse error: syntax error, unexpected '<' in /home/waldemar/public_html/halalan/system/libraries/Loader.php(706) : eval()'d code on line 1
Line 706 in 1.6.1:
Code:
echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))).'<?php ');
Line 706 in 1.6.2:
Code:
echo eval(preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
The configurations above are working in 1.6.1.