Hi all,
I opened this Feature Request a while back:
https://sourceforge.net/tracker/?func=detail&aid=3150300&group_id=191583&atid=937967
I'm fairly certain it is a trivial change - can someone confirm that all
that is needed is to change the path that is provided at the bottom of
the config.inc.php file, ie, change:
if (file_exists(dirname(__FILE__) . '/config.local.php')) {
include(dirname(__FILE__) . '/config.local.php');
to
if (file_exists(dirname(__FILE__) '/etc/postfixadmin/config.local.php')) {
include(dirname(__FILE__) '/etc/postfixadmin/config.local.php');
I'd rather not test this on a live system without at least a nod from a
dev that this should be all that is necessary...
So, if the devs agree that this makes sense (since that is one of the
two default dirs for the custom vacation.conf file already), I'm hoping
that someone can make this the default for future installs...
Hmmm... just had a thought... why not also add optional support for
putting the custom vacation.conf settings into config.local.php too?
That would make things even easier (only one file to worry about when
changing local settings)... I've actually been bitten twice when I
forgot to update the vacation.conf file to point to a new database when
updating... having those settings in the config.local.php file would
make it virtually impossible to 'forget'...
Thanks all!
|