[Pkg-owncloud-commits] [php-sabredav] 09/10: Path bug

David Prévot taffit at moszumanska.debian.org
Sat Nov 30 15:44:15 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag version-1.0.15
in repository php-sabredav.

commit 46029b81b1df54e5775a6d788bbda2d3c4eb717b
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Fri Apr 23 20:21:28 2010 +0900

    Path bug
---
 lib/Sabre/autoload.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Sabre/autoload.php b/lib/Sabre/autoload.php
index 13acfbd..54b1902 100644
--- a/lib/Sabre/autoload.php
+++ b/lib/Sabre/autoload.php
@@ -17,7 +17,7 @@ function Sabre_autoload($className) {
 
     if(strpos($className,'Sabre_')===0) {
 
-        include dirname(__FILE__) . '/' . str_replace('_','/',$className) . '.php';
+        include dirname(__FILE__) . '/' . str_replace('_','/',substr($className,6)) . '.php';
 
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list