Add -> add project

This commit is contained in:
2026-03-27 14:09:52 +03:30
commit 3327207f05
14 changed files with 403 additions and 0 deletions

15
app/config/config.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
$env = parse_ini_file(__DIR__ . '/../../.env');
return [
'db' => [
'host' => $env['DB_HOST'] ?? 'localhost',
'name' => $env['DB_NAME'] ?? 'paste',
'user' => $env['DB_USER'] ?? 'root',
'pass' => $env['DB_PASS'] ?? ''
],
'redis' => [
'host' => '127.0.0.1',
'port' => 6379
],
'master_key' => $env['MASTER_KEY'] ?? 'change_me_master_key'
];