Topic: configurable global PUN_* variable to ease distribution packaging
Hi,
In order to ease packaging of punbb for linux distribution, i'm wondering if it could be possible to add some PUN_* (at lease PUN_CONF, PUN_VAR and PUN_CACHE...) global variable please ? Right now, punbb source code assume that everything is located under a single PUN_ROOT directory. But webapps packaging policy for distributions which try to be FHS compliant (http://www.pathname.com/fhs/pub/fhs-2.3.html) requires that:
* configuration file should be locate in /etc (punbb config.php file should be located here)
* application cache data in /var/cache (punbb cache/ subdir should be located here)
* Variable state information in /var/lib (punbb img/ subdir for example should be locate here because this dir needs to be writeable by the webapp) and so forth
It would ease packager task , if punbb looked:
* its cache directory under a PUN_CACHE root directory,
* its configuration file under a PUN_CONF root directory and
* its writeable data directory under a PUN_VAR root directory
instead of searching those directory under a single PUN_ROOT directory
Thanks a lot.