Fw: [PEAR-DEV] Proposal for an INI format for pear.ini & pearsys.ini
| From: | Vincent Blavet | Date: | Tue, 19 Feb 2002 06:19:05 +0000 |
| Subject: | Fw: [PEAR-DEV] Proposal for an INI format for pear.ini & pearsys.ini | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-4800@lists.php.net to get a copy of this message | ||
It seems I forgot the attachment .... :-(
Config.php
and an example of pear.ini
Vincent
----- Original Message -----
From: Vincent Blavet
To: pear-dev@lists.php.net
Sent: Tuesday, February 19, 2002 12:42 AM
Subject: [PEAR-DEV] Proposal for an INI format for pear.ini & pearsys.ini
I modified Config.phpin order to support pear.ini and pearsys.ini files in stanadrd INI format.
I did not commit the change because it needs to be validated (Stig, Thomas, Martin ... ?), so you
will find the file attached.
Modified fucntions : readConfigFile(), writeConfigFile(), added functions readIni() and writeIni()
I think a FileIni Class may be created to be more generic. Today the commentaries are lost.
I'm waiting for feedback or a go/no go for committing that.
Vincent
--------------------------------------------------------------------------------
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php