mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 17:07:43 +02:00
disable css/js pipelining in the admin #28
This commit is contained in:
@@ -128,6 +128,10 @@ class AdminPlugin extends Plugin
|
||||
// Set original route for the home page.
|
||||
$home = '/' . trim($this->config->get('system.home.alias'), '/');
|
||||
|
||||
// Disable Asset pipelining
|
||||
$this->config->set('system.assets.css_pipeline', false);
|
||||
$this->config->set('system.assets.js_pipeline', false);
|
||||
|
||||
// set the default if not set before
|
||||
$this->session->expert = $this->session->expert ?: false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user