Browse Source

resolved merge conflicts

Sebastian 7 years ago
parent
commit
4bea02cb16

+ 5 - 0
content/4_info/01-release-notes.md

@@ -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.

+ 2 - 2
system/Controllers/PageController.php

@@ -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
 				}
 			}
 		}	
-	}
+	}	
 }

+ 1 - 1
system/settings.php

@@ -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'
 		];
 	}
 	

+ 1 - 1
system/system.php

@@ -13,7 +13,7 @@ session_start();
 * LOAD SETTINGS			*
 ************************/
 
-$settings = Typemill\Settings::loadSettings();
+$settings = Typemill\settings::loadSettings();
 
 /************************
 * INITIATE SLIM 		*

BIN
typemill-1.0.4.zip