Use an INI-style configuration file
commit76343fb91511b9f53e58b6c01b258bfe00ddb4c6
authorLukas Fleischer <archlinux@cryptocrack.de>
Fri, 24 Oct 2014 06:31:47 +0000 (24 08:31 +0200)
committerLukas Fleischer <archlinux@cryptocrack.de>
Fri, 24 Oct 2014 08:03:54 +0000 (24 10:03 +0200)
tree60eb4d3727bae159a1807915a58348b210ead206
parenta0a523070847230565c2ad5993ee058ff475a8e1
Use an INI-style configuration file

Replace web/lib/config.inc.php with an INI-style configuration file.
This allows us to get rid of several globals and makes it easier to use
the same configuration file in external scripts.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
24 files changed:
conf/config.proto [new file with mode: 0644]
scripts/aurblup/aurblup-wrapper
scripts/cleanup
upgrading/3.5.0.txt
web/html/login.php
web/html/pkgsubmit.php
web/lib/DB.class.php
web/lib/acctfuncs.inc.php
web/lib/aur.inc.php
web/lib/aurjson.class.php
web/lib/config.inc.php.proto [deleted file]
web/lib/confparser.inc.php [new file with mode: 0644]
web/lib/credentials.inc.php
web/lib/pkgbasefuncs.inc.php
web/lib/pkgfuncs.inc.php
web/lib/pkgreqfuncs.inc.php
web/lib/routing.inc.php
web/lib/translator.inc.php
web/template/actions_form.php
web/template/header.php
web/template/pkg_details.php
web/template/pkgbase_details.php
web/template/pkgreq_results.php
web/template/tu_last_votes_list.php