mirror of
https://github.com/getgrav/grav.git
synced 2026-07-21 07:41:37 +02:00
Merge branch 'develop' into 1.7
# Conflicts: # system/src/Grav/Common/Service/PagesServiceProvider.php
This commit is contained in:
@@ -26,7 +26,7 @@ class PagesServiceProvider implements ServiceProviderInterface
|
||||
return new Pages($grav);
|
||||
};
|
||||
|
||||
if (GRAV_CLI) {
|
||||
if (\defined('GRAV_CLI')) {
|
||||
$container['page'] = static function (Grav $grav) {
|
||||
$path = $grav['locator']->findResource('system://pages/notfound.md');
|
||||
$page = new Page();
|
||||
|
||||
Reference in New Issue
Block a user