mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-16 03:53:40 +00:00
When running a script we might run it in the DAViCal root, not webroot.
This commit is contained in:
parent
8ab5d8a404
commit
d642bcb6de
@ -102,6 +102,9 @@ else if ( @file_exists('/usr/local/etc/davical/config.php') ) {
|
||||
else if ( @file_exists('../config/config.php') ) {
|
||||
include('../config/config.php');
|
||||
}
|
||||
else if ( @file_exists('config/config.php') ) {
|
||||
include('config/config.php');
|
||||
}
|
||||
else {
|
||||
include('davical_configuration_missing.php');
|
||||
exit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user