Ticket #8 (closed defect: fixed)

Opened 2 years ago

Last modified 9 months ago

Short open tags should be replaced with <?php

Reported by: Stadler Assigned to: somebody
Priority: major Milestone: 0.9.5
Component: Control panel Version: 0.9.5
Keywords: short open tags Cc:

Description

Ok, the title says it all.

In the php-scripts, like control.php for example short open tags (<?= $foo ?> instead of <?php echo $foo ?>) are being used. This won't work on certain configurations (AFAIK Debian has disabled this by default). The long open tag (<?php) will always work.

Regards,

Christian Stadler

Attachments

eaccelerator_open_tag_patch.diff (6.6 kB) - added by Stadler on 03/07/06 21:15:06.

Change History

03/07/06 21:14:44 changed by Stadler

  • version set to 0.9.5.
  • milestone set to 0.9.5.

03/07/06 21:15:06 changed by Stadler

  • attachment eaccelerator_open_tag_patch.diff added.

03/07/06 21:17:15 changed by Stadler

Not tested, but the attached patch should do the trick.

03/07/06 22:26:05 changed by bart

  • status changed from new to closed.
  • resolution set to fixed.

This is fixed in svn now, I saw you're patch a bit to late. But s/<?=/<?php echo/g is about the same.

08/11/07 10:25:08 changed by Ronald

  • keywords set to short open tags.