mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-04-22 21:20:10 +00:00
Initial Release of the calendar plugin
This commit is contained in:
parent
45cc9885fc
commit
7115197a33
561 changed files with 189494 additions and 0 deletions
31
dav/SabreDAV/lib/Sabre/autoload.php
Normal file
31
dav/SabreDAV/lib/Sabre/autoload.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* SabreDAV's PHP autoloader
|
||||
*
|
||||
* If you love the autoloader, and don't care as much about performance, this
|
||||
* file register a new autoload function using spl_autoload_register.
|
||||
*
|
||||
* @package Sabre
|
||||
* @subpackage DAV
|
||||
* @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
|
||||
* @author Evert Pot (http://www.rooftopsolutions.nl/)
|
||||
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param string $className
|
||||
* @return void
|
||||
*/
|
||||
function Sabre_autoload($className) {
|
||||
|
||||
if(strpos($className,'Sabre_')===0) {
|
||||
|
||||
include dirname(__FILE__) . '/' . str_replace('_','/',substr($className,6)) . '.php';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
spl_autoload_register('Sabre_autoload');
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue