From a8f78536f0564950d8960c785387b882538ce28b Mon Sep 17 00:00:00 2001 From: Johann Date: Tue, 9 Jun 2026 17:19:46 +0200 Subject: [PATCH] refactor: extract configuration into config.php - New config.php.example template (tracked) - config.php git-ignored - index.php loads config.php if present, falls back to defaults --- .gitignore | 2 +- config.php.example | 11 +++++++++++ index.php | 8 +++++++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 config.php.example diff --git a/.gitignore b/.gitignore index aa6614e..fbd29e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ # PHP file browser -# (index.php and AGENTS.md are the project files) +config.php diff --git a/config.php.example b/config.php.example new file mode 100644 index 0000000..af047a4 --- /dev/null +++ b/config.php.example @@ -0,0 +1,11 @@ +