Commit dfe2d007 by Klimov Paul

Output of "AssetController::actionCompress" have been adjusted to hold the action id.

parent 1f68becb
...@@ -437,11 +437,11 @@ class AssetController extends Controller ...@@ -437,11 +437,11 @@ class AssetController extends Controller
$bundleFileContent = <<<EOD $bundleFileContent = <<<EOD
<?php <?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. * DO NOT MODIFY THIS FILE DIRECTLY.
* @version $version * @version {$version}
*/ */
return $array; return {$array};
EOD; EOD;
if (!file_put_contents($bundleFile, $bundleFileContent)) { if (!file_put_contents($bundleFile, $bundleFileContent)) {
throw new Exception("Unable to write output bundle configuration at '{$bundleFile}'."); throw new Exception("Unable to write output bundle configuration at '{$bundleFile}'.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment