[surforce-library commit] r40 - trunk/library/Zsurforce/Generic

1 view
Skip to first unread message

codesite...@google.com

unread,
Jan 30, 2009, 3:31:48 PM1/30/09
to surforce...@googlegroups.com
Author: enriqueplace
Date: Fri Jan 30 12:27:24 2009
New Revision: 40

Modified:
trunk/library/Zsurforce/Generic/Controller.php

Log:
Ajustes en nombres de variables y debug

Modified: trunk/library/Zsurforce/Generic/Controller.php
==============================================================================
--- trunk/library/Zsurforce/Generic/Controller.php (original)
+++ trunk/library/Zsurforce/Generic/Controller.php Fri Jan 30 12:27:24 2009
@@ -40,8 +40,8 @@
*/
$this->_registry = Zend_Registry::getInstance();

- $this->_debug = $this->_registry->get('config')->debug;
- $this->_devel = $this->_registry->get('config')->devel;
+ $this->_debug = $this->_registry->get('debug');
+ $this->_devel = $this->_registry->get('devel');
$this->_config = $this->_registry->get('config');

if( Zend_Registry::isRegistered('session')){
@@ -62,6 +62,12 @@
$this->view->config = $this->_config;

$this->view->user =
Zend_Auth::getInstance()->getIdentity();
+
+ if(isset($this->_debug) && $this->_debug){
+ var_dump($this->_request);
+ }
+
+
$this->view->controllerName =
$this->_request->getParam('controller');
$this->view->moduleName = $this->_request->getParam('module');

Reply all
Reply to author
Forward
0 new messages