4 * SabreDAV's PHP autoloader
6 * If you love the autoloader, and don't care as much about performance, this
7 * file register a new autoload function using spl_autoload_register.
11 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
12 * @author Evert Pot (http://www.rooftopsolutions.nl/)
13 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
17 * @param string $className
20 function Sabre_autoload($className) {
22 if(strpos($className,'Sabre_')===0) {
24 include dirname(__FILE__) . '/' . str_replace('_','/',substr($className,6)) . '.php';
30 spl_autoload_register('Sabre_autoload');