yii2-eauth
yii2-eauth copied to clipboard
WidgetAssetBundle.php gets published under a web-accessible directory
WidgetAssetBundle.php can be accessed through a web-browser (something like "/assets/f393d140/WidgetAssetBundle.php"). If the server shows errors, it'll show something like this: Fatal error: Class 'yii\web\AssetBundle' not found in /var/www/site/web/assets/f393d140/WidgetAssetBundle.php on line 17 Basically WidgetAssetBundle.php publishes itself. To eliminate the error, the WidgetAssetBundle.php file must be moved out of the assets directory.