Disable short tags in your php configuration.

Short tags are bad, mmmkay?


On 26 Mar 2009, at 13:48, Nei Rauni Santos wrote:

> Hi,
>
> I did the day 15 of Jobeet today, and I got an error when it render  
> the atom template:
>
> Parse error: syntax error, unexpected T_STRING in /var/www/ 
> sfprojects/jobeet/apps/frontend/modules/job/templates/ 
> indexSuccess.atom.php on line 2
>
> It's because the template start like a php tag:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> for it work i changed the code for:
>
> <?= '<?xml version="1.0" encoding="utf-8"?>'; ?>
>
> and it work..
>
> Is it correct??
>
>
> thanks
>
> Nei
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to