Skip to content

Instantly share code, notes, and snippets.

@apipkin
Created March 2, 2010 04:19
Show Gist options
  • Save apipkin/319130 to your computer and use it in GitHub Desktop.
Save apipkin/319130 to your computer and use it in GitHub Desktop.
[production]
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.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.layout.layout = "default"
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initNavigation()
{
$this->bootstrap('View');
// $view = $this->getResource('View');
// $view->placeholder('navigation')
// ->setPrefix('<div>')
// ->setSeparator('</div><div>')
// ->setPostfix('</div>')
// ;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment