mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Make "october:env" command privileged.
This allows developers to use the command even if plugins are failing to boot due to missing configuration options (such as the DB configuration being incorrect). Previously, plugins which use the database in boot would prevent the command from running if the database details were incorrect. This change removes a barrier from configuring your site correctly.
This commit is contained in:
parent
b251867f56
commit
619be11d23
@ -135,7 +135,7 @@ class ServiceProvider extends ModuleServiceProvider
|
||||
protected function registerPrivilegedActions()
|
||||
{
|
||||
$requests = ['/combine/', '@/system/updates', '@/system/install', '@/backend/auth'];
|
||||
$commands = ['october:up', 'october:update', 'october:version'];
|
||||
$commands = ['october:up', 'october:update', 'october:env', 'october:version'];
|
||||
|
||||
/*
|
||||
* Requests
|
||||
|
Loading…
x
Reference in New Issue
Block a user