diff --git a/core/components/modxminify/assetic/src/Assetic/AssetWriter.php b/core/components/modxminify/assetic/src/Assetic/AssetWriter.php index 4f010a4..9d508ac 100644 --- a/core/components/modxminify/assetic/src/Assetic/AssetWriter.php +++ b/core/components/modxminify/assetic/src/Assetic/AssetWriter.php @@ -79,6 +79,7 @@ protected static function write($path, $contents) if (false === @file_put_contents($path, $contents)) { throw new \RuntimeException('Unable to write file '.$path); } + chmod($path, 0644); } /**