View Issue Details

IDProjectCategoryView StatusLast Update
0000983mantisbtinstallationpublic2002-01-17 00:46
Reporterevelk Assigned Toprescience  
PrioritynormalSeveritytrivialReproducibilityN/A
Status closedResolutionfixed 
Summary0000983: Remove 'short_open_tags' from mantis.
Description

Today I tried to install mantis on a system which had in the php.ini file: short_open_tag = Off

Mantis wouldn't work (offcourse).

Is it possible to change al <? tags to <?php for a next version?

Additional Information

Because all <? ?> tags were ignored on this system, admin_check.php showed me:

<b>Everything should be working</b>.

Consider adding something like:

<?
if (false) {
?>
<p><b>If you see this, something is wrong....</b>
<?
} else {
?>
<p><b>Everything should be working</b>.
<?
}
?>

So that if <? ?> tags are ignored, an error message is shown..

TagsNo tags attached.

Activities

evelk

evelk

2001-10-02 16:48

reporter   ~0001398

I asked our system admin why short_open_tag was off, and if it could be switched on.

Then I realized that XML also uses the <? and ?> tags.. And indeed it was turned off because of the (future?) usage of XML..

Found on the www:
Actually everybody - especially if he/she ist working
with XML - should know that using short-tags in PHP is not
xml-conform.

prescience

prescience

2001-10-04 12:21

reporter   ~0001409

I've been moved. I'll convert all the <? to <?php shortly. Thankfully that's one command with my editor.

prescience

prescience

2002-01-17 00:46

reporter   ~0001810

Fixed in CVS. Will be in 0.17.0