Ticket #24 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Gregarius should not use php short open tags !

Reported by: JPC Owned by: mbonetti
Priority: normal Milestone: Gregarius 0.4.3
Component: BUGS Version: 1.0
Severity: normal Keywords:
Cc:

Description

Gregarius should use <?php tags instead of <? tags for php scripting language. On several distrutions of LAMP short open tags are disabled. I'm not using them myself on my webservers. Sometimes it can conflict with language such XML. I think it would be better to not use these short tags in the future and to correct the actual code in this way :) Sorry don't have a patch yet :o) /JPC

Change History

Changed 3 years ago by mbonetti

  • status changed from new to assigned

Makes sense. Will do.

Changed 3 years ago by mbonetti

  • status changed from assigned to closed
  • resolution set to fixed

Changed 3 years ago by ryaneby@…

  • status changed from closed to reopened
  • resolution fixed deleted

The shortcut for echo "<?=" doesn't work with short tag disabled. Would it be possible to have these replaced with the actual "<?php echo" ? I had to search and replace all of these to get it to work on my system. This may also be affecting people that can't seem to get their redirect to work. I was getting 404 errors and figured out that it was not getting the correct redirect URLs because the <?= was not being parsed. Thanks.

Changed 3 years ago by mbonetti

Refixed in [863]: "<?=" tags are gone

Changed 3 years ago by mbonetti

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.