Синтаксические исправления

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2021-12-01 10:41:04 +10:00
parent 8f32df518f
commit 6daa3112b6
2 changed files with 13 additions and 2 deletions

View File

@ -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;

View File

@ -142,7 +142,7 @@ $timezone = $timezone[1][0];
<a class="my-auto col-auto fas fa-trash-alt text-dark" type="button" onclick="page_profile_supplies_delete()"></a>
</div>
<? if ($amount < count($accounts)) : ?>
<?php if ($amount < count($accounts)) : ?>
<div class="dropdown-divider mb-3"></div>
<?php endif ?>
<?php endforeach ?>