Re: Problem with Config package?
| From: | Tony Bibbs | Date: | Thu, 14 Nov 2002 22:21:55 +0000 |
| Subject: | Re: Problem with Config package? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10807@lists.php.net to get a copy of this message | ||
That's odd, I see the method in the files though. I'll check the examples
and see if I can't get them to work with the new stuff. If I run into
anything I'll let you know.
--Tony
On Thu, 14 Nov 2002, Bertrand Mansion wrote:
> <tony@tonybibbs.com> wrote :
>
> > I have a simple PHP script with this:
> >
> > <?php
> >
> > require_once('Config.php');
> >
> > $confParser = new Config('IniFile');
> > $confParser->parseInput('foo.ini');
> >
> > ?>
> >
> > Which gives me this error:
> >
> > Fatal error: Called to undefined function parseInput()
> >
> > This is version Config v1.1
>
> API for Config has changed and is not backward compatible. If you want to
> use your old scripts, use version before 1, otherwise use version from 1.
> In which case, you might want to check the examples in the docs directory.
> Note that v1 is still beta and I didn't get much feedback yet. One of these
> days, I will implement an insertItem method...
>
> Bertrand Mansion
> Mamasam
>
>
>