viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

fix some more names for default database, a=chris

Chris Pollett [2015-07-01 16:Jul:st]
fix some more names for default database, a=chris
Filename
data/default.db
library/UpgradeFunctions.php
models/ProfileModel.php
diff --git a/data/default.db b/data/default.db
index 1343d9a96..6f656c0cc 100644
Binary files a/data/default.db and b/data/default.db differ
diff --git a/library/UpgradeFunctions.php b/library/UpgradeFunctions.php
index f585dbcce..4e4460330 100644
--- a/library/UpgradeFunctions.php
+++ b/library/UpgradeFunctions.php
@@ -1153,7 +1153,7 @@ function getWikiHelpPages()
 {
     $help_pages = [];
     $default_dbm = new D\Sqlite3Manager();
-    $default_dbm->connect("", "", "", BASE_DIR . "/Data/Default.db");
+    $default_dbm->connect("", "", "", BASE_DIR . "/data/default.db");
     if (!$default_dbm) {
         return false;
     }
diff --git a/models/ProfileModel.php b/models/ProfileModel.php
index c9173c1ac..9b71b548e 100755
--- a/models/ProfileModel.php
+++ b/models/ProfileModel.php
@@ -512,7 +512,7 @@ EOT;
             return false;
         }
         $default_dbm = new Sqlite3Manager();
-        $default_dbm->connect("", "", "", BASE_DIR."/Data/Default.db");
+        $default_dbm->connect("", "", "", BASE_DIR."/data/default.db");
         if (!$default_dbm) {return false;}
         foreach ($copy_tables as $table_or_index) {
             if ($table_or_index != "CURRENT_WEB_INDEX" &&
ViewGit