Hi!
I want to specify multiple controller directories that should all be
searched for controllers. I want to do this without deploying any
predefined modular directory structures - just multiple paths for
controllers (whether modules will be used or not).
However, when specifying any additional directory path it seems like the
first path is overwritten by the last specified path.
E.g, is it possible to make something like this work...?
$controller->throwExceptions(true)
->setRouter($router)
->setBaseUrl($baseUrl)
->setControllerDirectory('/my/first/path') // Default
directory
->addControllerDirectory('/my/second/path') // Another
directory
->addControllerDirectory('/my/third/path'); // Yet
another directory
Any ideas, hint or tips on how to achieve this?
Thank you for your time,
Werner