diff options
Diffstat (limited to 'application')
| -rw-r--r-- | application/Bootstrap.php | 2 | ||||
| -rw-r--r-- | application/modules/dev/controllers/IndexController.php | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/application/Bootstrap.php b/application/Bootstrap.php index fe469ce..db7b4e0 100644 --- a/application/Bootstrap.php +++ b/application/Bootstrap.php @@ -51,7 +51,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap } protected function _initPlugins() { - $this->bootstrap('autoloaders'); + $this->bootstrap('autoloaders'); $this->bootstrap('frontController'); $plugin = new Pbs_Controller_Plugin_Modularlayout(); $this->frontController->registerPlugin($plugin); diff --git a/application/modules/dev/controllers/IndexController.php b/application/modules/dev/controllers/IndexController.php index 4c9385c..ce74bc2 100644 --- a/application/modules/dev/controllers/IndexController.php +++ b/application/modules/dev/controllers/IndexController.php @@ -11,9 +11,13 @@ class dev_IndexController extends Zend_Controller_Action public function indexAction() { // action body + $n = new Pbs_PbsSession(); + $session = new Application_Model_Session(); + $session->setID('1'); + $n->createsession($session); + } - } |
