Skip to content

Commit

Permalink
fix: use correct path for asset_compress.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Dec 1, 2019
1 parent 6c9ca4e commit 7500143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use Cake\Core\Plugin;

// The function `parse_ini_file` may be disabled
$assets = parse_ini_string(file_get_contents('asset_compress.ini'), true);
$assets = parse_ini_string(file_get_contents(dirname(__FILE__) . '/asset_compress.ini'), true);

// Fix the CrudView local.css file for use Html::css()
foreach ($assets['crudview.css']['files'] as $i => $file) {
Expand Down

0 comments on commit 7500143

Please sign in to comment.