Re: Problem with Config package?
| From: | Bertrand Mansion | Date: | Thu, 14 Nov 2002 22:07:01 +0000 |
| Subject: | Re: Problem with Config package? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10804@lists.php.net to get a copy of this message | ||
<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