diff --git a/dav/dav.php b/dav/dav.php index 05916d01f..40040dfe2 100644 --- a/dav/dav.php +++ b/dav/dav.php @@ -8,5 +8,5 @@ $_v = explode(".", phpversion()); if ($_v[0] > 5 || ($_v[0] == 5 && $_v[1] >= 3)) { - require(__DIR__ . "/main.php"); + require(__DIR__ . "/friendica/main.php"); } \ No newline at end of file diff --git a/dav/FriendicaACLPlugin.inc.php b/dav/friendica/FriendicaACLPlugin.inc.php similarity index 100% rename from dav/FriendicaACLPlugin.inc.php rename to dav/friendica/FriendicaACLPlugin.inc.php diff --git a/dav/calendar.friendica.fnk.php b/dav/friendica/calendar.friendica.fnk.php similarity index 100% rename from dav/calendar.friendica.fnk.php rename to dav/friendica/calendar.friendica.fnk.php diff --git a/dav/database-init.inc.php b/dav/friendica/database-init.inc.php similarity index 100% rename from dav/database-init.inc.php rename to dav/friendica/database-init.inc.php diff --git a/dav/dav_caldav_backend_virtual_friendica.inc.php b/dav/friendica/dav_caldav_backend_virtual_friendica.inc.php similarity index 100% rename from dav/dav_caldav_backend_virtual_friendica.inc.php rename to dav/friendica/dav_caldav_backend_virtual_friendica.inc.php diff --git a/dav/dav_carddav_backend_virtual_friendica.inc.php b/dav/friendica/dav_carddav_backend_virtual_friendica.inc.php similarity index 100% rename from dav/dav_carddav_backend_virtual_friendica.inc.php rename to dav/friendica/dav_carddav_backend_virtual_friendica.inc.php diff --git a/dav/dav_friendica_auth.inc.php b/dav/friendica/dav_friendica_auth.inc.php similarity index 100% rename from dav/dav_friendica_auth.inc.php rename to dav/friendica/dav_friendica_auth.inc.php diff --git a/dav/dav_friendica_principal.inc.php b/dav/friendica/dav_friendica_principal.inc.php similarity index 100% rename from dav/dav_friendica_principal.inc.php rename to dav/friendica/dav_friendica_principal.inc.php diff --git a/dav/layout.fnk.php b/dav/friendica/layout.fnk.php similarity index 99% rename from dav/layout.fnk.php rename to dav/friendica/layout.fnk.php index 597e773d2..5b65ec244 100644 --- a/dav/layout.fnk.php +++ b/dav/friendica/layout.fnk.php @@ -17,7 +17,7 @@ function wdcal_addRequiredHeaders() $a->page['htmlhead'] .= '' . "\r\n"; $a->page['htmlhead'] .= '' . "\r\n"; - $a->page['htmlhead'] .= '' . "\r\n"; + $a->page['htmlhead'] .= '' . "\r\n"; $a->page['htmlhead'] .= '' . "\r\n"; $a->page['htmlhead'] .= '' . "\r\n"; diff --git a/dav/main.php b/dav/friendica/main.php similarity index 89% rename from dav/main.php rename to dav/friendica/main.php index c36d00840..602bda6d7 100644 --- a/dav/main.php +++ b/dav/friendica/main.php @@ -26,27 +26,27 @@ function dav_module() function dav_include_files() { - require_once (__DIR__ . "/SabreDAV/lib/Sabre/autoload.php"); + require_once (__DIR__ . "/../SabreDAV/lib/Sabre/autoload.php"); - require_once (__DIR__ . "/common/calendar.fnk.php"); - require_once (__DIR__ . "/common/calendar_rendering.fnk.php"); + require_once (__DIR__ . "/../common/calendar.fnk.php"); + require_once (__DIR__ . "/../common/calendar_rendering.fnk.php"); - require_once (__DIR__ . "/common/dav_caldav_backend_common.inc.php"); - require_once (__DIR__ . "/common/dav_caldav_backend_private.inc.php"); - require_once (__DIR__ . "/common/dav_caldav_backend_virtual.inc.php"); - require_once (__DIR__ . "/common/dav_caldav_root.inc.php"); - require_once (__DIR__ . "/common/dav_user_calendars.inc.php"); - require_once (__DIR__ . "/common/dav_caldav_calendar_virtual.inc.php"); - require_once (__DIR__ . "/common/dav_caldav_calendar_private.inc.php"); + require_once (__DIR__ . "/../common/dav_caldav_backend_common.inc.php"); + require_once (__DIR__ . "/../common/dav_caldav_backend_private.inc.php"); + require_once (__DIR__ . "/../common/dav_caldav_backend_virtual.inc.php"); + require_once (__DIR__ . "/../common/dav_caldav_root.inc.php"); + require_once (__DIR__ . "/../common/dav_user_calendars.inc.php"); + require_once (__DIR__ . "/../common/dav_caldav_calendar_virtual.inc.php"); + require_once (__DIR__ . "/../common/dav_caldav_calendar_private.inc.php"); - require_once (__DIR__ . "/common/dav_carddav_root.inc.php"); - require_once (__DIR__ . "/common/dav_carddav_backend_common.inc.php"); - require_once (__DIR__ . "/common/dav_carddav_backend_virtual.inc.php"); - require_once (__DIR__ . "/common/dav_carddav_backend_private.inc.php"); - require_once (__DIR__ . "/common/dav_user_addressbooks.inc.php"); + require_once (__DIR__ . "/../common/dav_carddav_root.inc.php"); + require_once (__DIR__ . "/../common/dav_carddav_backend_common.inc.php"); + require_once (__DIR__ . "/../common/dav_carddav_backend_virtual.inc.php"); + require_once (__DIR__ . "/../common/dav_carddav_backend_private.inc.php"); + require_once (__DIR__ . "/../common/dav_user_addressbooks.inc.php"); - require_once (__DIR__ . "/common/wdcal_configuration.php"); - require_once (__DIR__ . "/common/wdcal_backend.inc.php"); + require_once (__DIR__ . "/../common/wdcal_configuration.php"); + require_once (__DIR__ . "/../common/wdcal_backend.inc.php"); require_once (__DIR__ . "/dav_friendica_principal.inc.php"); require_once (__DIR__ . "/dav_friendica_auth.inc.php"); @@ -54,7 +54,7 @@ function dav_include_files() require_once (__DIR__ . "/dav_caldav_backend_virtual_friendica.inc.php"); require_once (__DIR__ . "/FriendicaACLPlugin.inc.php"); - require_once (__DIR__ . "/common/wdcal_edit.inc.php"); + require_once (__DIR__ . "/../common/wdcal_edit.inc.php"); require_once (__DIR__ . "/calendar.friendica.fnk.php"); require_once (__DIR__ . "/layout.fnk.php"); } diff --git a/dav/wdcal.css b/dav/friendica/wdcal.css similarity index 100% rename from dav/wdcal.css rename to dav/friendica/wdcal.css