Right now I have
Code: Select all
/Application
bootstrap.php
/Default
/Library
/Zend
/Northern
View.phpCode: Select all
// we locate the application dir via this bootstrap file
$appDir = dirname(__FILE__);
/**
* Include path setup (assuming no facility to edit php.ini)
* Also assumed only Core ZF. Includes the Zps parent directory.
* Left out Models for now.
*/
set_include_path(
$appDir . PATH_SEPARATOR
. $appDir . '/Library' . PATH_SEPARATOR
. get_include_path()
);Code: Select all
public function __construct(Zend_Controller_Request_Http $request, Zend_Session_Namespace $session)
{
$this->setEncoding('utf-8');
$this->setScriptPath($request->getModuleName().'/Views/');
$this->session = $session;
$this->baseurl = $request->getRequestUri();
}