diff options
| author | michael pereira | 2011-03-15 11:35:00 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-15 11:35:00 +0100 |
| commit | 3f9700079f95c7fb715e5c9363e48dce6c7c627f (patch) | |
| tree | 17fe70fcfbe651a9c52194423a67bac5a9c692e9 /application/Bootstrap.php | |
| parent | Ressource Controller (diff) | |
| parent | links korrigiert, dev ist nun lauffähig (diff) | |
| download | pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.gz pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.xz pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.zip | |
Ressource gelöscht
Diffstat (limited to 'application/Bootstrap.php')
| -rw-r--r-- | application/Bootstrap.php | 20 |
1 files changed, 18 insertions, 2 deletions
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'; |
