Add .gitignore, untrack config.php, add config.example.php

This commit is contained in:
danny 2026-06-14 14:37:56 +02:00
parent 1ae870a011
commit 967e1c6e0d
3 changed files with 29 additions and 15 deletions

15
config.example.php Normal file
View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
/**
* Copy this file to config.php and fill in your database credentials.
* In Plesk: Databases → your DB → Users.
*/
return [
'host' => 'localhost',
'dbname' => 'DB_NAME',
'user' => 'DB_USER',
'pass' => 'DB_PASSWORD',
'charset' => 'utf8mb4',
];