]> git.mxchange.org Git - friendica.git/blobdiff - util/db_update.php
Merge pull request #237 from simonlnu/master
[friendica.git] / util / db_update.php
old mode 100755 (executable)
new mode 100644 (file)
index 1da2a99..35620e8
@@ -1,5 +1,11 @@
 <?php
+/**
+* @package util
+*/
 
+/* 
+* require boot.php
+*/
 require_once("boot.php");
 
 $a = new App;
@@ -20,7 +26,7 @@ echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
 
 if($build != DB_UPDATE_VERSION) {
        echo "Updating database...";
-       check_config();
+       check_config($a);
        echo "Done\n";
 }