diff --git a/src/base/Boot.php b/src/base/Boot.php
index <HASH>..<HASH> 100644
--- a/src/base/Boot.php
+++ b/src/base/Boot.php
@@ -35,6 +35,8 @@ class Boot
     private function beforeRun()
     {
         $this->setConfigValue(require_once($this->getBaseConfig()));
+        defined('YII_DEBUG') or define('YII_DEBUG', false);
+        defined('YII_ENV') or define('YII_ENV', 'prod');
     }
 
     /**
diff --git a/src/config/web.php b/src/config/web.php
index <HASH>..<HASH> 100644
--- a/src/config/web.php
+++ b/src/config/web.php
@@ -12,6 +12,10 @@ $config = [
         'authManager' => [
             'class' => 'yii\rbaac\PhpManager',
         ],
+        'assetManager' => [
+            'class' => 'yii\web\AssetManager',
+            'forceCopy' => YII_DEBUG  
+        ],
         'request' => [
             'cookieValidationKey' => 'cookeivalidationkey',
             'enableCsrfValidation' => false,
default YII_ENV and YII_DEBUG values, delegate asset force copy based on
YII_DEBUG settings.