Revision [14771]

This is an old revision of PhpShortOpenTags made by FrankSchenk on 2006-07-05 17:10:44.

 

BUG


There's a bug in actions/header.php

If short open tags (also known as ASP tags) are disabled in PHP wikka is printing a short piece of php code:

<? echo $this->tag ?>

It's in line 30 of actions/header.php

<h2><?php echo $this->config["wakka_name"] ?> : <a href="<?php echo $this->href('backlinks', , ); ?>" title="Display a list of pages linking to <?
echo $this->tag ?>"><?php echo $this->GetPageTag(); ?></a></h2>

Solution


Add "php" after "<?"

Correct:
<h2><?php echo $this->config["wakka_name"] ?> : <a href="<?php echo $this->href('backlinks', , ); ?>" title="Display a list of pages linking to <?php
echo $this->tag ?>"><?php echo $this->GetPageTag(); ?></a></h2>


greetings, Frank
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki