diff --git a/application/controllers/IndexController.php b/application/controllers/IndexController.php index 0c4fe03..408e2d3 100644 --- a/application/controllers/IndexController.php +++ b/application/controllers/IndexController.php @@ -10,7 +10,16 @@ public function init() public function indexAction() { - // action body + // writer + $writer = new Zend_Log_Writer_Firebug(); + // log + $log = new Zend_Log($writer); + + // messages + $log->log($_REQUEST, Zend_Log::ERR); + $log->log($_ENV, Zend_Log::ALERT); + $log->log($_SERVER, Zend_Log::ALERT); + } diff --git a/application/views/scripts/index/index.phtml b/application/views/scripts/index/index.phtml index 4b38f0a..038c54a 100644 --- a/application/views/scripts/index/index.phtml +++ b/application/views/scripts/index/index.phtml @@ -1,43 +1 @@ - -
- Helpful Links:
- Zend Framework Website |
- Zend Framework Manual
-