Version 1.7.1 — auto default_page detection

- config.json now has default_page: auto for fresh installs
- CodePressCMS::detectDefaultPage() scans content/ for first available file
- getHomepageTitle() also respects auto mode
- Admin config form preserves auto as selectable option
- Save handler falls back to auto instead of index
This commit is contained in:
2026-07-28 15:39:12 +02:00
parent 8b454cd038
commit 2faea90872
6 changed files with 54 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "codepress",
"version": "1.7.0",
"version": "1.7.1",
"description": "A lightweight, file-based Content Management System built with PHP and Bootstrap.",
"main": "index.js",
"scripts": {