commit bc980fae91e10af0c49474a22c0033194b36cb9c
parent 0871284f83444f4f298c507f59504e39d575daf3
Author: markseu <mark2011@mayberg.se>
Date: Thu, 21 Apr 2016 09:36:51 +0200
System update (config refactoring)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/config/config.ini b/system/config/config.ini
@@ -25,11 +25,11 @@ ImageDir: media/images/
StaticDir: cache/
StaticDefaultFile: index.html
StaticErrorFile: 404.html
+ContentPagination: page
ContentDir: content/
ContentRootDir: default/
ContentHomeDir: home/
ContentDefaultFile: page.txt
-ContentPagination: page
ContentExtension: .txt
ConfigExtension: .ini
TextFile: language-(.*).txt
diff --git a/system/plugins/core.php b/system/plugins/core.php
@@ -50,11 +50,11 @@ class YellowCore
$this->config->setDefault("staticDir", "cache/");
$this->config->setDefault("staticDefaultFile", "index.html");
$this->config->setDefault("staticErrorFile", "404.html");
+ $this->config->setDefault("contentPagination", "page");
$this->config->setDefault("contentDir", "content/");
$this->config->setDefault("contentRootDir", "default/");
$this->config->setDefault("contentHomeDir", "home/");
$this->config->setDefault("contentDefaultFile", "page.txt");
- $this->config->setDefault("contentPagination", "page");
$this->config->setDefault("contentExtension", ".txt");
$this->config->setDefault("configExtension", ".ini");
$this->config->setDefault("configFile", "config.ini");