I have a Zend application with the following structure:
application
configs
application.ini
modules
api
controllers
Bootstrap.php
default
controllers
IndexController.php
models
views
scripts
index
index.phtml
layouts
layout.phtml
Bootstrap.php
My application/configs/application.ini looks like this:
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.db.adapter = "PDO_SQLITE"
resources.db.params.dbname = APPLICATION_PATH "/../data/db/test.sqlite3"
resources.modules = ""
resources.frontController.params.prefixDefaultModule = "1"
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.layout.layoutPath = APPLICATION_PATH "/modules/default/views/layout/"
My problem is that I cannot use the layout no matter what I do. If I go to http://test.app/index/index, I can see the output of the view script, but not the layout.