Re: config file problems
| From: | Jason Alexander | Date: | Tue, 20 Feb 2001 01:56:19 +0000 |
| Subject: | Re: config file problems | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-155@lists.php.net to get a copy of this message | ||
Ah, thanks Andrei.
Interesting enough, I'm not sure why, but the debug message quit displaying.
I never edited PEAR.php. Odd.
And, of course, changing the global references to #'s worked perfectly.
Thanks again for the help.
By the way, you guys have really done a great job with Smartie. I'm very
impressed. It's a great product (regardless of my own user errors :D).
-Jason
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Jason Alexander" <j-l-alexander@home.com>
Cc: <smarty@lists.ispi.net>
Sent: Monday, February 19, 2001 1:50 PM
Subject: Re: [smarty] config file problems
> On Sun, 18 Feb 2001, Jason Alexander wrote:
> > Hello all,
> >
> >
> > I'm having issues getting my config file to read for some reason.
> >
> > When I attempt to run it, I get the error:
> >
> > PEAR constructor called, class=config_file Config_File:
>
> This is because $_debug class variable is set in your PEAR.php. I don't
> know why, it's turned off by default in the distribution.
>
> > <TITLE>{$sitename}</TITLE>
>
> Config variables should be accessed as #sitename#.
>
> HTH,
>
> -Andrei
> * A feature is a bug with seniority. *
>