diff --git a/app/code/core/Mage/Core/Block/Template.php b/app/code/core/Mage/Core/Block/Template.php index 5c10556930a..e58a13dd1f0 100644 --- a/app/code/core/Mage/Core/Block/Template.php +++ b/app/code/core/Mage/Core/Block/Template.php @@ -240,7 +240,8 @@ public function fetchView($fileName) if ($includeFilePath != '' && (strpos($includeFilePath, realpath($this->_viewDir)) === 0 || $this->_getAllowSymlinks())) { include $includeFilePath; } else { - Mage::log('Not valid template file:'.$fileName, Zend_Log::CRIT, null, true); + $thisClass = get_class($this); + Mage::log('Not valid template file:' . $fileName . ' class: ' . $thisClass, Zend_Log::CRIT, null, true); } } catch (Exception $e) {