yii2-eauth icon indicating copy to clipboard operation
yii2-eauth copied to clipboard

WidgetAssetBundle.php gets published under a web-accessible directory

Open Svechnikov opened this issue 9 years ago • 0 comments

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.

Svechnikov avatar May 03 '15 10:05 Svechnikov