Skip to content

Commit

Permalink
Fixed disabling asset pipeline order issue getgrav#224
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 22, 2015
1 parent e95ffce commit 6dd0e60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ public function onPluginsInitialized()
$this->initializeAdmin();
}

// Disable Asset pipelining
$this->config->set('system.assets.css_pipeline', false);
$this->config->set('system.assets.js_pipeline', false);

// We need popularity no matter what
require_once __DIR__ . '/classes/popularity.php';
$this->popularity = new Popularity();
Expand All @@ -123,10 +127,6 @@ public function onPagesInitialized()
// 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;

Expand Down

0 comments on commit 6dd0e60

Please sign in to comment.