diff --git a/inc/always.php b/inc/always.php index 21dc0b5c..5b8bd04a 100644 --- a/inc/always.php +++ b/inc/always.php @@ -94,6 +94,12 @@ if ( @file_exists('/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') ) { else if ( @file_exists('/etc/davical/config.php') ) { include('/etc/davical/config.php'); } +else if ( @file_exists('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') ) { + include('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php'); +} +else if ( @file_exists('/usr/local/etc/davical/config.php') ) { + include('/usr/local/etc/davical/config.php'); +} else if ( @file_exists('../config/config.php') ) { include('../config/config.php'); } diff --git a/inc/always.php.in b/inc/always.php.in index 1b21935a..86c1427e 100644 --- a/inc/always.php.in +++ b/inc/always.php.in @@ -94,6 +94,12 @@ if ( @file_exists('/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') ) { else if ( @file_exists('/etc/davical/config.php') ) { include('/etc/davical/config.php'); } +else if ( @file_exists('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php') ) { + include('/usr/local/etc/davical/'.$_SERVER['SERVER_NAME'].'-conf.php'); +} +else if ( @file_exists('/usr/local/etc/davical/config.php') ) { + include('/usr/local/etc/davical/config.php'); +} else if ( @file_exists('../config/config.php') ) { include('../config/config.php'); }