diff options
Diffstat (limited to 'calendar/lib/SabreDAV/lib/OldSabre/autoload.php')
-rw-r--r-- | calendar/lib/SabreDAV/lib/OldSabre/autoload.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/calendar/lib/SabreDAV/lib/OldSabre/autoload.php b/calendar/lib/SabreDAV/lib/OldSabre/autoload.php new file mode 100644 index 0000000..6882472 --- /dev/null +++ b/calendar/lib/SabreDAV/lib/OldSabre/autoload.php @@ -0,0 +1,25 @@ +<?php + +/** + * SabreDAV's autoloader + * + * This file is kept for backwards compatibility purposes. + * SabreDAV now uses the composer autoloader. + * + * You should stop including this file, and include 'vendor/autoload.php' + * instead. + * + * @deprecated Will be removed in a future version! + * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). + * @author Evert Pot (http://evertpot.com/) + * @license http://sabre.io/license/ Modified BSD License + */ + +/** + * We are assuming that the composer autoloader is just 2 directories up. + * + * This is not the case when sabredav is installed as a dependency. But, in + * those cases it's not expected that people will look for this file anyway. + */ + +require __DIR__ . '/../../vendor/autoload.php'; |