mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
- also read config.local.php when in /users/
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@197 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
f25876592c
commit
85eda998b6
@ -57,6 +57,7 @@ $CONF['database_prefix'] = '';
|
||||
$CONF['database_tables'] = array (
|
||||
'admin' => 'admin',
|
||||
'alias' => 'alias',
|
||||
'config' => 'config',
|
||||
'domain' => 'domain',
|
||||
'domain_admins' => 'domain_admins',
|
||||
'log' => 'log',
|
||||
@ -313,11 +314,15 @@ $CONF['show_custom_colors']=array("lightgreen","lightblue");
|
||||
// that future updates work without problems, you can use a separate config
|
||||
// file (config.local.php) instead of editing this file and override some
|
||||
// settings there.
|
||||
if (file_exists (realpath ("./config.local.php"))) {
|
||||
if (file_exists (realpath ("./config.local.php"))) { # for /
|
||||
include('config.local.php');
|
||||
} elseif (file_exists (realpath ("../config.local.php"))) { # for /users/
|
||||
include('../config.local.php');
|
||||
};
|
||||
|
||||
|
||||
//
|
||||
// END OF CONFIG FILE
|
||||
//
|
||||
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user