|
@@ -60,6 +60,7 @@ class Header extends Header\ContentType
|
|
$conf = Registry::get('conf');
|
|
$conf = Registry::get('conf');
|
|
$appTpl = str_replace('/', DS, BASE_PATH . 'app/' . $conf['app']['name'] . '/_error/' . $code . '.php');
|
|
$appTpl = str_replace('/', DS, BASE_PATH . 'app/' . $conf['app']['name'] . '/_error/' . $code . '.php');
|
|
$coreTpl = str_replace('/', DS, BASE_PATH . 'pimf-framework/core/Pimf/_error/' . $code . '.php');
|
|
$coreTpl = str_replace('/', DS, BASE_PATH . 'pimf-framework/core/Pimf/_error/' . $code . '.php');
|
|
|
|
+ $coreTpl = str_replace(DS.'pimf-framework'.DS.'pimf-framework'.DS, DS.'pimf-framework'.DS, $coreTpl);
|
|
|
|
|
|
if (file_exists($appTpl) && is_readable($appTpl)) {
|
|
if (file_exists($appTpl) && is_readable($appTpl)) {
|
|
include $appTpl;
|
|
include $appTpl;
|