M
M
Maxim Timofeev2015-12-17 20:40:00
Yii
Maxim Timofeev, 2015-12-17 20:40:00

Why does Yii2 create symbolic links in assets?

Assets creates links to them instead of folders, as a result I get Too many levels of symbolic links?
Why is that?
Here is my assets.php

class FrontendAsset extends AssetBundle
{

    public $basePath = '@webroot';
    public $baseUrl = '@web';

    public $css = [
        'css/style_07_10_15.css?123',
        'plugins/cssanimation/animate.css', // только для десктоп
        'plugins/cssanimation/delays.css', // только для десктоп
        'plugins/flexslider/flexslider.css',
        'plugins/flexslider/animation_delays.css', // только для десктоп
    ];

    public $js = [
        'plugins/flexslider/jquery.flexslider-min.js',
        //'plugins/calendar/calendar.js',
        'js/jquery.scrollex.min.js',
        'js/front.js',

    ];
  
    public $depends = [
        'yii\web\YiiAsset', // тянет jquery
        'yii\bootstrap\BootstrapAsset',
        'yii\bootstrap\BootstrapPluginAsset',
        'common\assets\Html5shiv',
        'common\assets\FontAwesome',
    ];
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Makarov, 2015-12-18
@webinar

You can disable www.yiiframework.com/doc-2.0/yii-web-assetmanager....

K
Kirill Arutyunov, 2015-12-17
@arutyunov

What's in the config?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question