Method "yii\console\controllers\AssetController::buildTarget()" has been fixed to compose input file name correctly.

This commit is contained in:
Klimov Paul
2013-05-16 16:31:29 +03:00
parent f9b06e1e6d
commit 0ecdcae54a
2 changed files with 30 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ class AssetController extends Controller
foreach ($target->depends as $name) {
if (isset($bundles[$name])) {
foreach ($bundles[$name]->$type as $file) {
$inputFiles[] = $bundles[$name]->basePath . '/' . $file;
$inputFiles[] = $bundles[$name]->basePath . $file;
}
} else {
throw new Exception("Unknown bundle: $name");