Config.php BUG
| From: | yavor shahpasov | Date: | Mon, 02 Jul 2001 14:39:08 +0000 |
| Subject: | Config.php BUG | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-523@lists.php.net to get a copy of this message | ||
I tried to use the Config.php with IniFile a storage. Reading the values
seems OK but wring has some problems. It seems that the storage object
does not share the data with the main instance of the class. I fond a
way of fixing it around line 283 of Config.php add
$this->container->data = $this->data;
just in front of
$this->container->writeInput($datasrc,$preserve);
this is definatelly not the most ellegant way to solve it but it worked
for me, I havent checked with the db or xml storage but there is the
same problem most likely.
Just my 2c
yavor
The difference between a good man and a bad one is the choice of cause -
William James