Fix ArrayIterator interface implementation; remove usage of arraysize(), structsize...
[plcapi.git] / src / Autoloader.php
index b03b1cb..40ec219 100644 (file)
@@ -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
+}