commit
8a45826033
1 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ class InvalidPageException extends Exception
|
||||||
|
|
||||||
Then in the `FilePageReader` file add this code at the end of your `readBySlug` method:
|
Then in the `FilePageReader` file add this code at the end of your `readBySlug` method:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$path = "$this->pageFolder/$slug.md";
|
$path = "$this->pageFolder/$slug.md";
|
||||||
|
|
||||||
if(!file_exists($path)) {
|
if(!file_exists($path)) {
|
||||||
|
|
Loading…
Reference in a new issue