Initial commit

This commit is contained in:
2021-09-16 20:27:51 +08:00
commit 5ed6195cc1
41 changed files with 3429 additions and 0 deletions

20
Config.php.example Normal file
View File

@ -0,0 +1,20 @@
<?php
return [
'database' => [
'name' => 'blog-app',
'username' => 'root',
'password' => '',
'connection' => 'mysql:host=127.0.0.1',
'options' => [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
]
],
'mailer' => [
'host' => '',
'username' => '',
'password' => '',
'from' => ''
],
'port' => '' // e.g. ':8080'
];