Skip to content

Commit 0aa38b0

Browse files
author
Fred Sung
committed
MAGETWO-31688: Broken Links to Static Assets in Error Application
- Reformat the code from CR feedback.
1 parent aa22d89 commit 0aa38b0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: pub/errors/processor.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,12 @@ public function processReport()
226226
public function getViewFileUrl()
227227
{
228228
//The url needs to be updated base on Document root path.
229-
return $this->getBaseUrl() . str_replace(str_replace('\\', '/', $this->_indexDir),
229+
return $this->getBaseUrl() .
230+
str_replace(
231+
str_replace('\\', '/', $this->_indexDir),
230232
'',
231-
str_replace('\\', '/', $this->_errorDir)) . $this->_config->skin . '/';
233+
str_replace('\\', '/', $this->_errorDir)
234+
) . $this->_config->skin . '/';
232235
}
233236

234237
/**

0 commit comments

Comments
 (0)