mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
Output of "AssetController::actionCompress" have been adjusted to hold the action id.
This commit is contained in:
@@ -437,11 +437,11 @@ class AssetController extends Controller
|
||||
$bundleFileContent = <<<EOD
|
||||
<?php
|
||||
/**
|
||||
* This file is generated by the "yii script" command.
|
||||
* This file is generated by the "yii {$this->id}" command.
|
||||
* DO NOT MODIFY THIS FILE DIRECTLY.
|
||||
* @version $version
|
||||
* @version {$version}
|
||||
*/
|
||||
return $array;
|
||||
return {$array};
|
||||
EOD;
|
||||
if (!file_put_contents($bundleFile, $bundleFileContent)) {
|
||||
throw new Exception("Unable to write output bundle configuration at '{$bundleFile}'.");
|
||||
|
||||
Reference in New Issue
Block a user