Yii Booster assets with symlink

400 views Asked by At

Im using YiiBooster, but I don't like that is generates folder inside the assets dir and copying a bunch of files into it. I would like it to create symlinks instead, like Yii assetManager:

$assetManager = Yii::app()->assetManager;
$assetManager->linkAssets = true;

Does anyone know how to achieve this ?

1

There are 1 answers

0
Amr Bedair On BEST ANSWER

if your app is configured to user linkAssets booster automatically follows this ... all what you need is to configure your app to use linkAssets, this way ...

'components'=>array(
'assetManager'=>array(
    'linkAssets' => true,
),