X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FAutoloader.php;h=77ba30f63fa7fb2215f6b5403bf4b2ebaad3c547;hb=428236a8cdb916da4a33cf57ef90739b70af994e;hp=b03b1cb352eb1215bde564ca8df6a40db1849b66;hpb=9277512c28da1762073b77787f4ed282a575d057;p=plcapi.git diff --git a/src/Autoloader.php b/src/Autoloader.php index b03b1cb..77ba30f 100644 --- a/src/Autoloader.php +++ b/src/Autoloader.php @@ -29,7 +29,7 @@ class Autoloader return; } - if (is_file($file = __DIR__ . str_replace('PhpXmlRpc\\', '/', $class).'.php')) { + if (is_file($file = __DIR__ . str_replace(array('PhpXmlRpc\\', '\\'), '/', $class).'.php')) { require $file; } }