File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -386,11 +386,6 @@ protected function _renderPage($template)
386
386
protected function _getFilePath ($ file , $ directories = null )
387
387
{
388
388
if (is_null ($ directories )) {
389
- $ directories = [];
390
-
391
- if (!$ this ->_root ) {
392
- $ directories [] = $ this ->_indexDir . self ::ERROR_DIR . '/ ' ;
393
- }
394
389
$ directories [] = $ this ->_errorDir ;
395
390
}
396
391
@@ -409,16 +404,6 @@ protected function _getFilePath($file, $directories = null)
409
404
*/
410
405
protected function _getTemplatePath ($ template )
411
406
{
412
- $ directories = [];
413
-
414
- if (!$ this ->_root ) {
415
- $ directories [] = $ this ->_indexDir . self ::ERROR_DIR . '/ ' . $ this ->_config ->skin . '/ ' ;
416
-
417
- if ($ this ->_config ->skin != self ::DEFAULT_SKIN ) {
418
- $ directories [] = $ this ->_indexDir . self ::ERROR_DIR . '/ ' . self ::DEFAULT_SKIN . '/ ' ;
419
- }
420
- }
421
-
422
407
$ directories [] = $ this ->_errorDir . $ this ->_config ->skin . '/ ' ;
423
408
424
409
if ($ this ->_config ->skin != self ::DEFAULT_SKIN ) {
You can’t perform that action at this time.
0 commit comments