Разделение индексного файла (наконец-то)
This commit is contained in:
parent
7ca19da826
commit
912b25bea2
|
@ -783,7 +783,7 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.hood.su/mirzaev/yii2/arangodb",
|
||||
"reference": "7a6e6fbadafc65ecb516d5a2dc87bd83f7c19274"
|
||||
"reference": "bb7b1b8f8e26c409f9c113a6bd459e3274e94599"
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0.0",
|
||||
|
@ -825,7 +825,7 @@
|
|||
"ArangoDb",
|
||||
"yii2"
|
||||
],
|
||||
"time": "2021-03-29T00:20:46+00:00"
|
||||
"time": "2021-04-10T16:39:51+00:00"
|
||||
},
|
||||
{
|
||||
"name": "mirzaev/yii2-arangodb-sessions",
|
||||
|
@ -2532,16 +2532,16 @@
|
|||
},
|
||||
{
|
||||
"name": "codeception/lib-innerbrowser",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Codeception/lib-innerbrowser.git",
|
||||
"reference": "693e116f81ef98eae98c43ef785a726faf87394e"
|
||||
"reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/693e116f81ef98eae98c43ef785a726faf87394e",
|
||||
"reference": "693e116f81ef98eae98c43ef785a726faf87394e",
|
||||
"url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4ffb91c18e4cacd073ff2914c07e5ccaf5efe449",
|
||||
"reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2586,9 +2586,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Codeception/lib-innerbrowser/issues",
|
||||
"source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.1"
|
||||
"source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.2"
|
||||
},
|
||||
"time": "2021-03-02T08:01:54+00:00"
|
||||
"time": "2021-04-06T05:26:49+00:00"
|
||||
},
|
||||
{
|
||||
"name": "codeception/module-asserts",
|
||||
|
@ -3310,16 +3310,16 @@
|
|||
},
|
||||
{
|
||||
"name": "opis/closure",
|
||||
"version": "3.6.1",
|
||||
"version": "3.6.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/opis/closure.git",
|
||||
"reference": "943b5d70cc5ae7483f6aff6ff43d7e34592ca0f5"
|
||||
"reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/opis/closure/zipball/943b5d70cc5ae7483f6aff6ff43d7e34592ca0f5",
|
||||
"reference": "943b5d70cc5ae7483f6aff6ff43d7e34592ca0f5",
|
||||
"url": "https://api.github.com/repos/opis/closure/zipball/06e2ebd25f2869e54a306dda991f7db58066f7f6",
|
||||
"reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -3369,9 +3369,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/opis/closure/issues",
|
||||
"source": "https://github.com/opis/closure/tree/3.6.1"
|
||||
"source": "https://github.com/opis/closure/tree/3.6.2"
|
||||
},
|
||||
"time": "2020-11-07T02:01:34+00:00"
|
||||
"time": "2021-04-09T13:42:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phar-io/manifest",
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
<div class="row py-3 w-100">
|
||||
<section class="col">
|
||||
<div class="d-flex flex-column mx-auto">
|
||||
<p class="px-2 mb-1 text-center d-flex justify-content-center">Слишком частые запросы, повторите попытку через: $timer секунд</p>
|
||||
<p class="px-2 mb-1 text-center d-flex justify-content-center">Слишком частые запросы, повторите попытку через: <?= $timer ?? 5 ?> секунд</p>
|
||||
<small class="mb-3 text-center d-flex justify-content-center">Подождите или нажмите на кнопку вручную</small>
|
||||
<a class="btn text-white button_clean button_blue mx-auto" title="Перезагрузить страницу" role="button" onclick="window.location.reload();">Повторить</a>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
setTimeout('window.location.reload()', $timer + '000');
|
||||
setTimeout('window.location.reload()', <?= $timer ?? 5 ?> + '000');
|
||||
</script>
|
||||
|
||||
<?php else : ?>
|
||||
|
|
|
@ -11,7 +11,7 @@ server_name catalog.loc %aliases%;
|
|||
root '%hostdir%';
|
||||
limit_conn addr 64;
|
||||
autoindex off;
|
||||
index index.php index.html index.htm;
|
||||
index index_dev.php index_dev.html index_dev.htm;
|
||||
|
||||
ssl_certificate '%sprogdir%/userdata/config/cert_files/server.crt';
|
||||
ssl_certificate_key '%sprogdir%/userdata/config/cert_files/server.key';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
// comment out the following two lines when deployed to production
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||
defined('YII_ENV') or define('YII_ENV', 'dev');
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', false);
|
||||
defined('YII_ENV') or define('YII_ENV', 'prod');
|
||||
defined('YII_PATH_PUBLIC') or define('YII_PATH_PUBLIC', __DIR__);
|
||||
|
||||
require __DIR__ . '/../../../../vendor/autoload.php';
|
||||
|
|
|
@ -7,10 +7,11 @@ if (!in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', '::1'])) {
|
|||
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
||||
defined('YII_ENV') or define('YII_ENV', 'test');
|
||||
defined('YII_PATH_PUBLIC') or define('YII_PATH_PUBLIC', __DIR__);
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
|
||||
require __DIR__ . '/../../../../vendor/autoload.php';
|
||||
require __DIR__ . '/../../../../vendor/yiisoft/yii2/Yii.php';
|
||||
|
||||
$config = require __DIR__ . '/../config/test.php';
|
||||
$config = require __DIR__ . '/../config/web.php';
|
||||
|
||||
(new yii\web\Application($config))->run();
|
Reference in New Issue