mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-20 06:50:20 +00:00
Fall back to /etc/davical/config.php for a whole-of-site configuration.
This commit is contained in:
parent
53d36109c7
commit
99ff2e5f4a
@ -67,6 +67,9 @@ if ( @file_exists("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") ) {
|
||||
else if ( @file_exists("/etc/rscds/".$_SERVER['SERVER_NAME']."-conf.php") ) {
|
||||
include_once("/etc/rscds/".$_SERVER['SERVER_NAME']."-conf.php");
|
||||
}
|
||||
else if ( @file_exists("/etc/davical/config.php") ) {
|
||||
include_once("/etc/davical/config.php");
|
||||
}
|
||||
else if ( @file_exists("../config/config.php") ) {
|
||||
include_once("../config/config.php");
|
||||
}
|
||||
|
||||
@ -67,6 +67,9 @@ if ( @file_exists("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") ) {
|
||||
else if ( @file_exists("/etc/rscds/".$_SERVER['SERVER_NAME']."-conf.php") ) {
|
||||
include_once("/etc/rscds/".$_SERVER['SERVER_NAME']."-conf.php");
|
||||
}
|
||||
else if ( @file_exists("/etc/davical/config.php") ) {
|
||||
include_once("/etc/davical/config.php");
|
||||
}
|
||||
else if ( @file_exists("../config/config.php") ) {
|
||||
include_once("../config/config.php");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user