Now it works
This commit is contained in:
parent
0d2087fe6e
commit
2179a7faa8
|
@ -9,10 +9,12 @@ use Friendica\App;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Database\DBStructure;
|
use Friendica\Database\DBStructure;
|
||||||
|
|
||||||
|
require_once "boot.php";
|
||||||
|
require_once "include/dba.php";
|
||||||
|
|
||||||
$a = new App(dirname(__DIR__));
|
$a = new App(dirname(__DIR__));
|
||||||
|
|
||||||
@include ".htconfig.php";
|
@include ".htconfig.php";
|
||||||
require_once "include/dba.php";
|
|
||||||
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
dba::connect($db_host, $db_user, $db_pass, $db_data);
|
||||||
unset($db_host, $db_user, $db_pass, $db_data);
|
unset($db_host, $db_user, $db_pass, $db_data);
|
||||||
|
|
||||||
|
@ -44,7 +46,7 @@ if ($_SERVER["argc"] == 2) {
|
||||||
Config::set('system','build',DB_UPDATE_VERSION);
|
Config::set('system','build',DB_UPDATE_VERSION);
|
||||||
return;
|
return;
|
||||||
case "dumpsql":
|
case "dumpsql":
|
||||||
DBStructure::printStructure(db_definition());
|
DBStructure::printStructure(DBStructure::definition());
|
||||||
return;
|
return;
|
||||||
case "toinnodb":
|
case "toinnodb":
|
||||||
DBStructure::convertToInnoDB();
|
DBStructure::convertToInnoDB();
|
||||||
|
|
Loading…
Reference in a new issue