Cor Bosman wrote:
PS: @ Cor Brosman I kept my _load_config, because I like to include config.inc.php.dist by default.
You still can. load_config in the api returns false if it cant load the file, and allows for you to give your own filename. So you can try to $this->load_config() first, and if that returns false, do $this-
load_config('config.php.inc.dist');
I'd rather change that into
$this->load_config('config.php.inc.dist'); $this->load_config('config.php.inc');
This way the "default" config is loaded first and config.php.inc can only contain a subset of config parameters that are finally merged over the defaults.
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/