X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FAutoloader.php;h=40ec2190c236c8e1428bfa20063d6ecf74aadaec;hb=9b2713ada2768f901d1bc238589dc58dd7f61d43;hp=b03b1cb352eb1215bde564ca8df6a40db1849b66;hpb=e63c9427bdc9c398acbe906dfb3538727e05ae81;p=plcapi.git diff --git a/src/Autoloader.php b/src/Autoloader.php index b03b1cb..40ec219 100644 --- a/src/Autoloader.php +++ b/src/Autoloader.php @@ -29,8 +29,8 @@ 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; } } -} \ No newline at end of file +}