Move friendica-specific parts into an own subdirectory
This commit is contained in:
parent
8f5a88aa10
commit
b8234a1cb8
|
@ -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");
|
||||
}
|
|
@ -17,7 +17,7 @@ function wdcal_addRequiredHeaders()
|
|||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/timepicker/timePicker.css' . '" media="all" />' . "\r\n";
|
||||
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/dav/timepicker/jquery.timePicker.min.js"></script>' . "\r\n";
|
||||
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/wdcal.css' . '" media="all" />' . "\r\n";
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/friendica/wdcal.css' . '" media="all" />' . "\r\n";
|
||||
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/dav/common/wdcal.js"></script>' . "\r\n";
|
||||
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/dav/wdcal/css/calendar.css' . '" media="all" />' . "\r\n";
|
|
@ -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");
|
||||
}
|
Loading…
Reference in New Issue
Block a user