diff --git a/src/Esendex/AutoLoad.php b/src/Esendex/AutoLoad.php index 2111ee9..726eed2 100644 --- a/src/Esendex/AutoLoad.php +++ b/src/Esendex/AutoLoad.php @@ -47,6 +47,7 @@ public static function load($class) return false; } $parts = explode(self::SPLIT_NS, $class); + unset($parts[0]); $path = ESENDEX_HOME . self::SPLIT_DIR . implode(self::SPLIT_DIR, $parts) . '.php'; if (file_exists($path)) {