Commit 82fbc0ef by Alexander Makarov

Fixes #4247

parent 78ae6325
...@@ -585,9 +585,11 @@ EOD; ...@@ -585,9 +585,11 @@ EOD;
<?php <?php
/** /**
* Configuration file for the "yii asset" console command. * Configuration file for the "yii asset" console command.
* Note that in the console environment, some path aliases like '@webroot' and '@web' may not exist.
* Please define these missing path aliases.
*/ */
// In the console environment, some path aliases may not exist. Please define these:
//Yii::setAlias('@webroot', realpath(__DIR__ . '/../web'));
//Yii::setAlias('@web', '/');
return [ return [
// Adjust command/callback for JavaScript files compressing: // Adjust command/callback for JavaScript files compressing:
'jsCompressor' => {$jsCompressor}, 'jsCompressor' => {$jsCompressor},
......
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