- Added a new Include token (which was added as RAW content)

- Fixed UrlExtension to reflect on notes-routes changes
- Added some methods to FileFetcher
This commit is contained in:
mcndave committed 2020-10-20 19:38:37 +00:00
1 parent 10632e9f67
commit 2f8abebc44
6 files changed
+41 -17

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..");
}