mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Regression: Fixed fatal error in cli/plugin command
This commit is contained in:
parent
8169a6f3f8
commit
1cf390206e
|
|
@ -10,6 +10,7 @@
|
|||
* Regression: Fixed bad method call in FlexDirectory::getAuthorizeRule()
|
||||
* Regression: Fixed fatal error in admin if the site has custom permissions in `onAdminRegisterPermissions`
|
||||
* Regression: Fixed flex user index with folder storage
|
||||
* Regression: Fixed fatal error in `cli/plugin` command
|
||||
* Fixed `FlexObject::triggerEvent()` does not emit events [#2816](https://github.com/getgrav/grav/issues/2816)
|
||||
* Grav 1.7: Fixed saving Flex configuration with ignored values becoming null
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
<?php
|
||||
|
||||
use Grav\Common\Composer;
|
||||
use Grav\Events\PluginsLoadedEvent;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Console\Input\ArgvInput;
|
||||
use Symfony\Component\Console\Output\ConsoleOutput;
|
||||
|
|
@ -64,13 +63,10 @@ $grav['config']->init();
|
|||
$grav['uri']->init();
|
||||
$grav['users'];
|
||||
|
||||
/** @var \Grav\Common\Plugins $plugins */
|
||||
$plugins = $grav['plugins'];
|
||||
$plugins->init();
|
||||
|
||||
// Plugins Loaded Event
|
||||
$event = new PluginsLoadedEvent($grav, $plugins);
|
||||
$grav->dispatchEvent($event);
|
||||
|
||||
$grav['themes']->init();
|
||||
|
||||
$app = new Application('Grav Plugins Commands', GRAV_VERSION);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user