file include blocks in ITX.php

From: Date: Tue, 21 May 2002 03:29:53 +0000
Subject: file include blocks in ITX.php
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6260@lists.php.net to get a copy of this message
Shouldn't the following line be in the init() function? // find all included files $string = preg_replace('#<!--\s+INCLUDE\s+(.*)\s+-->#ime', "\$this->getFile('\\1')", $string); It is at the bottom of getFile(), which allows recursion, but it is never called on the main string so the recursion can never start... Dan

« previous php.pear.dev (#6260) next »