diff --git a/assets/EChartsAsset.php b/assets/EChartsAsset.php index d3ea5bd..c5afbbf 100644 --- a/assets/EChartsAsset.php +++ b/assets/EChartsAsset.php @@ -8,6 +8,6 @@ class EChartsAsset extends AssetBundle { public $sourcePath = '@npm/echarts/dist'; public $js = [ - 'echarts.js', + 'echarts.min.js', ]; } \ No newline at end of file diff --git a/assets/QuillAsset.php b/assets/QuillAsset.php index 62889a3..000784b 100644 --- a/assets/QuillAsset.php +++ b/assets/QuillAsset.php @@ -8,7 +8,7 @@ class QuillAsset extends AssetBundle { public $sourcePath = '@npm/quill/dist'; public $js = [ - 'quill.js', + 'quill.min.js', ]; public $css = [ 'quill.snow.css', diff --git a/config/db.php b/config/db.php index d11e804..39f2194 100644 --- a/config/db.php +++ b/config/db.php @@ -11,10 +11,10 @@ return [ 'charset' => 'utf8', 'schemaMap' => [ 'mysql' => SamIT\Yii2\MariaDb\Schema::class - ] + ], // Schema cache options (for production environment) - //'enableSchemaCache' => true, - //'schemaCacheDuration' => 60, - //'schemaCache' => 'cache', + 'enableSchemaCache' => true, + 'schemaCacheDuration' => 60, + 'schemaCache' => 'cache', ]; diff --git a/config/web.php b/config/web.php index 13c94a1..bceedeb 100644 --- a/config/web.php +++ b/config/web.php @@ -21,7 +21,7 @@ $config = [ 'authManager' => [ 'class' => 'yii\rbac\DbManager', // uncomment if you want to cache RBAC items hierarchy -// 'cache' => 'cache', + 'cache' => 'cache', ], 'request' => [ // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation diff --git a/web/index-test.php b/web/index-test.php deleted file mode 100644 index 1ec192f..0000000 --- a/web/index-test.php +++ /dev/null @@ -1,16 +0,0 @@ -run(); diff --git a/web/index.php b/web/index.php index 02d5e1d..9526e8a 100644 --- a/web/index.php +++ b/web/index.php @@ -1,8 +1,8 @@