ITX.php require_once error
| From: | Dan Allen | Date: | Tue, 21 May 2002 01:15:33 +0000 |
| Subject: | ITX.php require_once error | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6253@lists.php.net to get a copy of this message | ||
The require_once at the top of ITX.php still points to HTML/IT.php
and not HTML_Template_IT/IT.php
Also, one small change to that last patch...in the line where the
delimiter is added should be
// add the delimiter if we have parsed this block exactly once
if (isset($this->parsedlist[$block]) && $this->parsedlist[$block] == 1) {
$this->blocklist[$block] = $this->blockdelimiter[$block] .
$this->blocklist[$block];
}
$this->parsedlist[$block] = isset($this->parsedlist[$block]) ?
++$this->parsedlist[$block]
: 1;
It was adding it each time after the first time on the last patch. Also, you wouldn't need a
globalFlagParsed variable anymore because you could have it as
$this->parsedlist['__global__'] = ?
Dan