PEAR::Config question

From: Date: Thu, 29 May 2003 20:49:57 +0000
Subject: PEAR::Config question
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5687@lists.php.net to get a copy of this message
Hi, I retrieve an array from an XML file then I change some values of the array. I want to save the array back to the XML file. I try to do this by replacing the root node then using the writeConfig() method. It works but in the saved XML file the line <?xml version="1.0" encoding="ISO-8859-1"?> is doubled which makes the file invalid. Is this a bug of PEAR::Config ? Is there another (cleaner) way to do this ? Regards Jean-Marc

« previous php.pear.general (#5687) next »