From: kirostumm Date: Tue, 5 Dec 2023 15:18:12 +0000 (+0300) Subject: Выход с сайта и вернул gii и debug X-Git-Tag: 1.1~203^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=95ff5fa40c73d7057932685538865769ca6784b3;p=erp24_rep%2Fyii-erp24%2F.git Выход с сайта и вернул gii и debug --- diff --git a/erp24/config/web.php b/erp24/config/web.php index 54f852b3..32396d0f 100644 --- a/erp24/config/web.php +++ b/erp24/config/web.php @@ -83,15 +83,17 @@ if (YII_ENV_DEV) { $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', // uncomment the following to add your IP if you are not connecting from localhost. - //'allowedIPs' => ['127.0.0.1', '::1'], + 'allowedIPs' => ['*'], ]; $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', // uncomment the following to add your IP if you are not connecting from localhost. - //'allowedIPs' => ['127.0.0.1', '::1'], + 'allowedIPs' => ['*'], ]; + + } return $config; diff --git a/erp24/views/layouts/header.php b/erp24/views/layouts/header.php index c06fcab2..2be7976b 100755 --- a/erp24/views/layouts/header.php +++ b/erp24/views/layouts/header.php @@ -169,7 +169,7 @@ $this->registerCssFile('/css/timetable/style.css');
Привязать устройство
- +
Выйти