diff -up Sabre-1.0.0/php-sabredav-Sabre.xml.orig Sabre-1.0.0/php-sabredav-Sabre.xml --- Sabre-1.0.0/php-sabredav-Sabre.xml.orig 2010-04-28 15:05:53.000000000 +0200 +++ Sabre-1.0.0/php-sabredav-Sabre.xml 2014-02-20 09:10:49.971529139 +0100 @@ -15,8 +15,8 @@ Currently this is only an autoloader2010-04-28 - 1.0.0 - 1.0.0 + 1.0.2 + 1.0.2 stable @@ -28,7 +28,7 @@ New release. Read the ChangeLog and anno - + diff -up Sabre-1.0.0/Sabre/autoload.php.orig Sabre-1.0.0/Sabre/autoload.php --- Sabre-1.0.0/Sabre/autoload.php.orig 2010-04-28 15:05:53.000000000 +0200 +++ Sabre-1.0.0/Sabre/autoload.php 2014-02-20 09:12:57.023982422 +0100 @@ -16,10 +16,15 @@ function Sabre_autoload($className) { if(strpos($className,'Sabre_')===0) { - + # SabreDAV 1.7 don't use namespace include dirname(__FILE__) . '/' . str_replace('_','/',substr($className,6)) . '.php'; } + else if(strpos($className,'Sabre\\')===0) { + # VObject 2.1.3 use namespace + include dirname(__FILE__) . '/' . str_replace('\\','/',substr($className,6)) . '.php'; + + } }