Search code examples
phpyii2yii2-advanced-appcloud-hosting

Yii2: AssetManager.php deleted automatic in Yii2 Advanced


I used web cloud hosting and my project in Yii2 advanced framework, when I uploaded it, in vendor/yiisoft/yii2/web/AssetManager.php in deleted automatic. When I asked from hosting they says your file has symlink!

How can fix it?


Solution

  • It might be the case that you have "asset" in your .gitignore or .gitexclude. The deployment will then not include any ignored files like app/assets but also not AssetManager.php