This commit is contained in:
mcndave committed 2020-10-21 03:57:02 +00:00
commit 69db3efdce
6 files changed
+41 -18

No files matched your search

+9
View File
@@ -50,6 +50,15 @@ class FileFetcher
}
}
# Fallback on full-path
foreach($this->folderList as $folder) {
$file = $folder['path'] . DIRECTORY_SEPARATOR . $fileName;
if ( file_exists($file) ) {
return $file;
}
}
throw new \RuntimeException("Given view file `$fileName` can not be found within given folder list..");
}