From 7500143adaafd8da5d16bcc7b36e30fbe4694041 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 1 Dec 2019 16:34:23 -0500 Subject: [PATCH] fix: use correct path for asset_compress.ini --- config/defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {