Created
June 16, 2015 20:44
-
-
Save fbrnc/ce477c92d027a8263271 to your computer and use it in GitHub Desktop.
Debug Helper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Mage_Core_Block_Template: | |
public function fetchView($fileName): | |
if (strpos($includeFilePath, realpath($this->_viewDir)) === 0 || $this->_getAllowSymlinks()) { | |
if (empty($includeFilePath)) { | |
Mage::log("Resulting in empty includeFilePath: $fileName"); | |
} else { | |
include $includeFilePath; | |
} | |
} else { | |
Mage::log('Not valid template file:'.$fileName, Zend_Log::CRIT, null, null, true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment