diff --git a/classes/Config.php b/classes/Config.php
index e3cfba4..779963c 100644
--- a/classes/Config.php
+++ b/classes/Config.php
@@ -41,9 +41,6 @@ class Config {
private static $abcPosts;
private static $abcDocs;
- private static $sort_type;
- private static $sort_order;
-
// Returns the value of property $key.
public static function get($key) {
diff --git a/install.php b/install.php
index 7c5c033..5a81ce9 100755
--- a/install.php
+++ b/install.php
@@ -101,21 +101,21 @@ if(isset($_POST['create'])) {
exit($head . 'Passwords did not match or were not entered. Try again.');
$config = array(
- 'kure_ver' => $kure_ver,
- 'adminpass' => md5($_POST['pass1']),
- 'blog_name' => 'kure',
- 'blog_sub' => 'beta',
- 'num_posts' => 8,
- 'docdates' => true,
- 'docspagedates' => true,
- 'abcdocs' => true,
- 'abcposts' => false,
- 'showadmin' => true,
+ 'version' => $kure_ver,
+ 'adminPassword' => md5($_POST['pass1']),
+ 'showAdminLink' => true,
+ 'blogName' => 'kure',
+ 'blogSub' => 'beta',
'template' => 'sanitation'
+ 'postsPerPage' => 8,
+ 'showDocDates' => true,
+ 'showDocPageDates' => true,
+ 'abcPosts' => false,
+ 'abcDocs' => true,
);
-
+
foreach($config as $key => $value)
- print Config::set($key, $value);
+ Config::set($key, $value);
if(!Config::save())
exit($head . 'Couldn\'t write to config.php!');