Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2012 at 13:57 UTC
Updated:
29 Jul 2014 at 21:41 UTC
Currently we find this in settings.php
$conf['system.performance']['css.gzip'] = FALSE;
$conf['system.performance']['js.gzip'] = FALSE;
This is incorrect as everything behind system.performance is an array so we have to access it as an array
Following code DOES work.
$conf['system.performance']['css']['gzip'] = FALSE;
$conf['system.performance']['js']['gzip'] = FALSE;System.performance is a KEY js.css are two ARRAY ELEMENTS. We can't combine array elements with a '.'
Attached patch fixes this misunderstanding. I tested this with css/js aggregation.
| Comment | File | Size | Author |
|---|---|---|---|
| conf_overrides.patch | 625 bytes | aspilicious |
Comments
Comment #1
berdirMakes sense. It is a bit unfortunate that this doesn't map to the way it is accessed but changing that would be a different issue.
Comment #2
webchickCommitted and pushed to 8.x. Thanks!