diff --git a/config/defaults.php b/config/defaults.php index 0c8c0eab..d4241418 100644 --- a/config/defaults.php +++ b/config/defaults.php @@ -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) {