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:
+11
-2
@@ -6,12 +6,21 @@
|
||||
*/
|
||||
|
||||
return [
|
||||
'version' => '1.7.0',
|
||||
'version' => '1.7.1',
|
||||
'release_date' => '2026-07-28',
|
||||
'codename' => 'API',
|
||||
'codename' => 'Auto',
|
||||
'status' => 'stable',
|
||||
|
||||
'changelog' => [
|
||||
'1.7.1' => [
|
||||
'date' => '2026-07-28',
|
||||
'changes' => [
|
||||
'Auto-detect first available content page when default_page is set to "auto"',
|
||||
'default_page now defaults to "auto" in config.json for fresh installs',
|
||||
'Admin config form preserves "auto" as a selectable option',
|
||||
'No more empty "-- Selecteer --" option that silently saved "index"',
|
||||
]
|
||||
],
|
||||
'1.7.0' => [
|
||||
'date' => '2026-07-28',
|
||||
'changes' => [
|
||||
|
||||
Reference in New Issue
Block a user