Permalink
Browse files

Removing debug code

  • Loading branch information...
1 parent 49800e7 commit 9c27969813933d439df1809f594efa2e8bd1267a @weaverryan committed Aug 8, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/manager/sfThemeManager.class.php
@@ -193,18 +193,13 @@ protected function _changeLayout($layoutPath)
return;
}
-
$info = pathinfo($layoutPath);
$path = $info['dirname'].'/'.$info['filename'];
$actionEntry = $this->_context->getController()->getActionStack()->getLastEntry();
$module = $actionEntry ? $actionEntry->getModuleName() : $this->_context->getRequest()->getParameter('module');
$action = $actionEntry ? $actionEntry->getActionName() : $this->_context->getRequest()->getParameter('action');
- var_dump('symfony.view.'.$module.'_'.$action.'_layout');
- var_dump(sfConfig::get('symfony.view.'.$module.'_'.$action.'_layout'));
- //die;
-
// Set the layout for the given module & action
sfConfig::set('symfony.view.'.$module.'_'.$action.'_layout', $path);

0 comments on commit 9c27969

Please sign in to comment.