diff --git a/mirzaev/skillparts/system/config/console.php.example b/mirzaev/skillparts/system/config/console.php.example index b17a3f6..f5be4c3 100644 --- a/mirzaev/skillparts/system/config/console.php.example +++ b/mirzaev/skillparts/system/config/console.php.example @@ -2,7 +2,7 @@ declare(strict_types=1); -return [ +$config = [ 'id' => 'skillparts-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], @@ -35,3 +35,14 @@ return [ ], ] ]; + + +if (YII_ENV_DEV) { + // configuration adjustments for 'dev' environment + $config['bootstrap'][] = 'gii'; + $config['modules']['gii'] = [ + 'class' => 'yii\gii\Module', + ]; +} + +return $config; diff --git a/mirzaev/skillparts/system/views/profile/panel.php b/mirzaev/skillparts/system/views/profile/panel.php index 9ed9e75..6a99efa 100644 --- a/mirzaev/skillparts/system/views/profile/panel.php +++ b/mirzaev/skillparts/system/views/profile/panel.php @@ -142,7 +142,7 @@ $timezone = $timezone[1][0]; - if ($amount < count($accounts)) : ?> +