@@ -2,6 +2,11 @@
This is the version history with some release notes.
+## Version 1.0.4 (17.11.2017)
+
+- Bugfix: Settings file was generated after a page refresh, this is fixed now.
+- Improvement: Cleaned up the load and merge process for settings, managed in a new static class now.
## Version 1.0.3 (14.11.2017)
- Bugfix: Deleted a config-file in the download-version, that broke the setup url.
@@ -56,7 +56,7 @@ class PageController extends Controller
/* update sitemap */
$sitemap = new WriteSitemap();
$sitemap->updateSitemap('cache', 'sitemap.xml', 'lastSitemap.txt', $structure, $uri->getBaseUrl());
-
/* check and update the typemill-version in the user settings */
$this->updateVersion($uri->getBaseUrl());
}
@@ -192,5 +192,5 @@ class PageController extends Controller
- }
+ }
@@ -36,7 +36,7 @@ class Settings
'settingsPath' => $rootPath . 'settings',
'authorPath' => __DIR__ . DIRECTORY_SEPARATOR . 'author' . DIRECTORY_SEPARATOR,
'contentFolder' => 'content',
- 'version' => '1.0.3'
+ 'version' => '1.0.4'
];
@@ -13,7 +13,7 @@ session_start();
* LOAD SETTINGS *
************************/
-$settings = Typemill\Settings::loadSettings();
+$settings = Typemill\settings::loadSettings();
/************************
* INITIATE SLIM *