Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
class Default_Bootstrap extends Zend_Application_Module_Bootstrap { protected function _initViewNHelpers() { define('PREPEND', 'PREPEND'); define('APPEND', 'APPEND'); $this->bootstrap('layout'); $layout = $this->getResource('layout'); $layout->setLayoutPath( APPLICATION_PATH . '/modules/default/layouts/' ); $view = $layout->getView(); $view->doctype('XHTML1_TRANSITIONAL'); $view->headMeta() ->appendHttpEquiv('Content-type', 'text/html;charset=utf-8') ->appendName('description', 'Some description') ->appendName('keywords', 'asdo'); $view->headTitle() ->setSeparator(' - '); $view->headTitle('OvarsAntik.com'); } }
This paste will be private.
From the Design Piracy series on my blog: