Re: ITX.php require_once error
| From: | Tomas V.V.Cox | Date: | Tue, 21 May 2002 15:35:31 +0000 |
| Subject: | Re: ITX.php require_once error | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6286@lists.php.net to get a copy of this message | ||
Bertrand Mansion wrote:
>
> le 21/05/02 12:32, Baba Buehler à baba@babaz.com a écrit :
>
> > Bertrand Mansion wrote:
> >> le 21/05/02 3:15, Dan Allen à dallen@bsiweb.com a écrit :
> >>
> >>
> >>> The require_once at the top of ITX.php still points to HTML/IT.php
> >>> and not HTML_Template_IT/IT.php
> >>
> >>
> >> IT is supposed to be installed in HTML/
> >> You should use the pear installer to install IT and ITX, then they will be
> >> put in the right directories.
> >>
> >
> >
> > The includes are still wrong in IT.php and ITX.php ... they reference
> > HTML/IT_Error.php, HTML/IT.php, etc., but ITX was moved to HTML/Template.
> > The includes need to be updated for this move (to HTML/Template/IT.php, etc).
>
> You are right. I've fixed that in cvs.
>
> BTW I wonder if it wouldn't be better to integrate IT_Error in IT as this
> class is only 15 lines or so and 'requires' are a bit expensive. This is how
> it's done in many other packages. Any opinion ?
>
Drop IT_Error and use PEAR::raiseError() instead.
Tomas V.V.Cox