@@ 1561-1563 (lines=3) @@ | ||
1558 | } |
|
1559 | ||
1560 | foreach ($this->_paths($plugin) as $path) { |
|
1561 | if (file_exists($path . $name . $this->_ext)) { |
|
1562 | return $this->_checkFilePath($path . $name . $this->_ext, $path); |
|
1563 | } |
|
1564 | } |
|
1565 | throw new MissingTemplateException(['file' => $name . $this->_ext]); |
|
1566 | } |
|
@@ 1654-1656 (lines=3) @@ | ||
1651 | foreach ($this->_paths($plugin) as $path) { |
|
1652 | foreach ($layoutPaths as $layoutPath) { |
|
1653 | $currentPath = $path . $layoutPath; |
|
1654 | if (file_exists($currentPath . $name . $this->_ext)) { |
|
1655 | return $this->_checkFilePath($currentPath . $name . $this->_ext, $currentPath); |
|
1656 | } |
|
1657 | } |
|
1658 | } |
|
1659 | throw new MissingLayoutException([ |