Welcome Guest, Not a member yet? Register   Sign In
I can not get <?= to work on one of my servers, any ideas why ?
#10

[eluser]bd3521[/eluser]
[quote author="BrianDHall" date="1253667530"]Oh yeah, but CI has a feature that fixes this for you! I like short-tags myself so I just keep it on regardless of what options my servers might have. search in your config.php file for this option:

Code:
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files.  Options are TRUE or FALSE (boolean)
|
*/
$config['rewrite_short_tags'] = TRUE;

Yet another reason CI rules![/quote]
I have this enabled but after upgrading to PHP 5.3.0 and CI 1.7.2 it not longer works.
Very strange


Messages In This Thread
I can not get <?= to work on one of my servers, any ideas why ? - by El Forum - 10-01-2009, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB