dev-master
9999999-dev http://www.crazedsanity.comXML/INI-based site configuration for PHP.
MIT
The Requires
The Development Requires
by Dan Falconer
php dry oaoo
XML/INI-based site configuration for PHP.
XML/INI-based site configuration for PHP., (*1)
Create an XML or INI file for your site's configuration. Values from one
section can be automatically used in other sections using place holders in the
form {SECTION/VALUE}
., (*2)
The configuration can be loaded as constants or into the GLOBALS array simply by
calling a method, make_section_constants()
and make_section_globals()
,
respectively., (*3)
Special placeholders can be used as well. The following placeholders are
supported:
* {_DIRNAMEOFFILE_}
(directory to the containing configuration file)
* {_CONFIGFILE_}
(full path to the containing configuration file)
* {_THISFILE_}
(same as DIRNAMEOFFILE)
* {_APPURL_}
(value of $_SERVER['SCRIPT_NAME']
), (*4)
XML/INI-based site configuration for PHP.
MIT
php dry oaoo