First of all, it's not setBaseUrl, but only baseUrl . And second thing, yeah, you can't access base url in your bootstrap, because
all resources (including frontController) that you're trying to initialize in your application.ini will be executed during bootstrap process.
However, you can force bootstrapping of some resource from your Bootstrap class, before the bootstrap method is triggered, by calling it, and supplying name of the resource you want to bootstrap:
Code:$this->bootstrap('FrontController'); $front = $this->getResource('FrontController');


LinkBack URL
About LinkBacks



Reply With Quote
.
