@@ -2,11 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\commands; |
4 | 4 | |
5 | -use dmstr\helpers\Metadata; |
|
5 | +use Yii; |
|
6 | 6 | use mikehaertl\shellcommand\Command; |
7 | 7 | use yii\console\Controller; |
8 | 8 | use yii\helpers\VarDumper; |
9 | -use Yii; |
|
10 | 9 | |
11 | 10 | /** |
12 | 11 | * @link http://www.diemeisterei.de/ |
@@ -10,15 +10,14 @@ |
||
10 | 10 | * file that was distributed with this source code. |
11 | 11 | */ |
12 | 12 | |
13 | +use Yii; |
|
13 | 14 | use dmstr\helpers\SettingsAsset; |
14 | 15 | use dmstr\modules\backend\widgets\Modal; |
15 | 16 | use dmstr\modules\backend\widgets\Toolbar; |
16 | 17 | use dmstr\modules\prototype\widgets\TwigWidget; |
17 | 18 | use hrzg\widget\widgets\Cell; |
18 | 19 | use lo\modules\noty\Wrapper; |
19 | -use Yii; |
|
20 | 20 | use yii\helpers\Html; |
21 | -use yii\helpers\Url; |
|
22 | 21 | use yii\widgets\Pjax; |
23 | 22 | |
24 | 23 | /* @var $this \yii\web\View */ |
@@ -32,13 +32,13 @@ |
||
32 | 32 | $dotenv->required('YII_DEBUG', ['', '0', '1', 'true', true]); |
33 | 33 | $dotenv->required('YII_ENV', ['dev', 'prod', 'test']); |
34 | 34 | $dotenv->required([ |
35 | - 'YII_TRACE_LEVEL', |
|
36 | - 'APP_NAME', |
|
37 | - 'APP_TITLE', |
|
38 | - 'APP_ADMIN_EMAIL', |
|
39 | - 'APP_LANGUAGES', |
|
40 | - 'APP_COOKIE_VALIDATION_KEY', |
|
41 | - ])->notEmpty(); |
|
35 | + 'YII_TRACE_LEVEL', |
|
36 | + 'APP_NAME', |
|
37 | + 'APP_TITLE', |
|
38 | + 'APP_ADMIN_EMAIL', |
|
39 | + 'APP_LANGUAGES', |
|
40 | + 'APP_COOKIE_VALIDATION_KEY', |
|
41 | + ])->notEmpty(); |
|
42 | 42 | |
43 | 43 | // Additional validations |
44 | 44 | if (!preg_match('/^[a-z0-9_-]{2,16}$/', getenv('APP_NAME'))) { |