Changeset 8083
- Timestamp:
- 03/25/08 18:49:13 (1 year ago)
- Files:
-
- branches/1.1/lib/view/sfPartialView.class.php (modified) (2 diffs)
- branches/1.1/lib/view/sfView.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/view/sfPartialView.class.php
r7727 r8083 4 4 * This file is part of the symfony package. 5 5 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 6 * 7 7 * For the full copyright and license information, please view the LICENSE 8 8 * file that was distributed with this source code. … … 40 40 { 41 41 $this->setDecorator(false); 42 43 42 $this->setTemplate($this->actionName.$this->getExtension()); 44 43 if ('global' == $this->moduleName) 45 44 { 46 $this->setDirectory( sfConfig::get('sf_app_template_dir'));45 $this->setDirectory($this->context->getConfiguration()->getDecoratorDir($this->getTemplate())); 47 46 } 48 47 else branches/1.1/lib/view/sfView.class.php
r7959 r8083 460 460 else 461 461 { 462 $this->directory = $this->context->getConfiguration()->getTemplateDir($this->moduleName, $template); 462 463 $this->template = $template; 463 464 }

