namespace My\Custom\Namespace; class Controller_Directory_Name extends \Controller { // ... }
Autoloader::add_namespace('My\Custom\Namespace', '/my/path/classes/'); // With traling slash // And try this class_exists('My\Custom\Namespace\Controller_Directory_Name');
is_file ('/path/with//double/slash')resolves the correct path, so it works. But I'm not sure this is a "feature".
It looks like you're new here. If you want to get involved, click one of these buttons!