Skip to content

Commit 1cd6f19

Browse files
author
Arkadii Chyzhov
committed
MAGETWO-52323: [Github] Error page/maintenance page skin customisation is not currently possible magento#4305
1 parent 2eaa8b5 commit 1cd6f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pub/errors/processor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ protected function _validate()
568568
*/
569569
protected function _setSkin($value, \stdClass $config = null)
570570
{
571-
if (preg_match('/^[a-z0-9_]+$/i', $value) && is_dir($this->_indexDir . self::ERROR_DIR . '/' . $value)) {
571+
if (preg_match('/^[a-z0-9_]+$/i', $value) && is_dir($this->_errorDir . '/' . $value)) {
572572
if (!$config) {
573573
if ($this->_config) {
574574
$config = $this->_config;

0 commit comments

Comments
 (0)