Improve "404.md not found" exception message
This commit is contained in:
parent
c3af40c3b9
commit
070da6d73f
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ class Pico
|
|||
|
||||
if (!file_exists($this->getConfig('content_dir') . $errorFile)) {
|
||||
$errorFile = ($errorFileDir === '.') ? '404' . $this->getConfig('content_ext') : $errorFile;
|
||||
throw new RuntimeException('Required "' . $errorFile . '" not found');
|
||||
throw new RuntimeException('Required "' . $this->getConfig('content_dir') . $errorFile . '" not found');
|
||||
}
|
||||
|
||||
return $this->loadFileContent($this->getConfig('content_dir') . $errorFile);
|
||||
|
|
Loading…
Reference in a new issue