summaryrefslogtreecommitdiffstats
path: root/application/Bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/Bootstrap.php')
-rw-r--r--application/Bootstrap.php20
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';