diff --git a/Puc/v5p0/Autoloader.php b/Puc/v5p0/Autoloader.php index f616975..dfd1ee6 100644 --- a/Puc/v5p0/Autoloader.php +++ b/Puc/v5p0/Autoloader.php @@ -73,7 +73,7 @@ public function autoload($className) { if ( strpos($className, $this->prefix) === 0 ) { $path = substr($className, strlen($this->prefix)); - $path = str_replace('_', '/', $path); + $path = str_replace(array('_', '\\'), '/', $path); $path = $this->rootDir . $path . '.php'; if ( file_exists($path) ) {