mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Initial commit
This commit is contained in:
commit
792b1a5083
25 files changed
+50258
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$c->sysabbr = 'caldav';
|
||||
$c->admin_email = 'andrew@catalyst.net.nz';
|
||||
$c->system_name = "Andrew's CalDAV Server";
|
||||
|
||||
error_log( $c->sysabbr.": DBG: ======================================= Start $PHP_SELF for $HTTP_HOST on $_SERVER[SERVER_NAME]" );
|
||||
if ( file_exists("/etc/caldav/".$_SERVER['SERVER_NAME']."-conf.php") ) {
|
||||
include_once("/etc/caldav/".$_SERVER['SERVER_NAME']."-conf.php");
|
||||
}
|
||||
else if ( file_exists("../config/config.php") ) {
|
||||
include_once("../config/config.php");
|
||||
}
|
||||
else {
|
||||
include_once("caldav_configuration_missing.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
include_once("iCalendar.php");
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user