settings
This commit is contained in:
parent
b6a4e3d561
commit
d9081bf8f5
|
@ -1,3 +1,4 @@
|
|||
!.gitignore
|
||||
composer.phar
|
||||
composer.lock
|
||||
vendor
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
"issues": "https://git.mirzaev.sexy/mirzaev/site-repression/issues"
|
||||
},
|
||||
"require": {
|
||||
"php": "~8.2",
|
||||
"ext-sodium": "~8.2",
|
||||
"mirzaev/minimal": "^2.0.x-dev",
|
||||
"php": "~8.3",
|
||||
"ext-sodium": "~8.3",
|
||||
"mirzaev/minimal": "^2.2.0",
|
||||
"mirzaev/accounts": "~1.2.x-dev",
|
||||
"mirzaev/arangodb": "^1.0.0",
|
||||
"mirzaev/vk": "^4.0",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -18,12 +18,11 @@ define('INDEX', __DIR__);
|
|||
// Автозагрузка
|
||||
require __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
|
||||
// Инициализация маршрутазитора
|
||||
// Инициализация маршрутизатора
|
||||
$router = new router;
|
||||
|
||||
// Запись маршрутов
|
||||
$router->write('/', 'index', 'index');
|
||||
$router->write('/system/hotline', 'hotline', 'index');
|
||||
|
||||
// Инициализация ядра
|
||||
$core = new core(namespace: __NAMESPACE__, router: $router);
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
!.gitignore
|
||||
!*.sample
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'endpoint' => 'unix:///var/run/arangodb3/arango.sock',
|
||||
'database' => 'repression',
|
||||
'name' => 'repression',
|
||||
'password' => ''
|
||||
];
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
|
||||
return '';
|
Loading…
Reference in New Issue