From 428236a8cdb916da4a33cf57ef90739b70af994e Mon Sep 17 00:00:00 2001 From: gggeek Date: Fri, 3 Apr 2015 00:48:56 +0100 Subject: [PATCH] Fix autoloader to work with helper classes on linux --- src/Autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.43.0