grav icon indicating copy to clipboard operation
grav copied to clipboard

[fix] Multisite issue when using `find` function

Open hdwebpros opened this issue 3 years ago • 0 comments

When running multisite with subfolder, the route includes the subfolder. The find function returns null since it only needs the page route, without the subfolder.

This commit removes that subfolder as $this->base, which fixes the route on multisite with subfolder.

This has been tested on multisite with Grav v1.7.30 and Flex Objects

hdwebpros avatar Mar 10 '22 17:03 hdwebpros