From d583d0071274a8843b3a3cd7b7ec72d5a9942f53 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 14 Mar 2011 16:17:48 +0100 Subject: Zweiter push um die änderungen hinzuzufügen, Trennung der Ansichten --- application/Bootstrap.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'application/Bootstrap.php') diff --git a/application/Bootstrap.php b/application/Bootstrap.php index f06c85b..f9ee092 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -2,7 +2,23 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { - + protected function _initAutoloader() + { + $moduleLoader = new Zend_Application_Module_Autoloader + ( + array + ( + 'namespace' => '', + 'basePath' => APPLICATION_PATH, + 'resourceTypes' => array( + 'form' => array( + 'path' => 'forms/', + 'namespace' => 'Form', + ) + ) + ) + ); + } protected function _initAuth(){ $auth = Zend_Auth::getInstance(); $auth->setStorage(new Zend_Auth_Storage_Session('auth')); @@ -26,4 +42,4 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap ->setSeparator(' :: '); } } -include 'Functions.php'; \ No newline at end of file +include 'Functions.php'; -- cgit v1.2.3-55-g7522