Browse Source

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

tags/2.0.0-beta
Klimov Paul 12 years ago
parent
commit
dfe2d00785
  1. 6
      framework/yii/console/controllers/AssetController.php

6
framework/yii/console/controllers/AssetController.php

@ -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}'.");

Loading…
Cancel
Save