Move the build tables in the init.php file
This commit is contained in:
parent
18af3af7d4
commit
a806f4d355
2 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,6 @@
|
||||||
include('init.php');
|
include('init.php');
|
||||||
include('templates/header.php');
|
include('templates/header.php');
|
||||||
|
|
||||||
$db->buildTables();
|
|
||||||
if (isset($_GET['id'])) {
|
if (isset($_GET['id'])) {
|
||||||
$id = $_GET['id'];
|
$id = $_GET['id'];
|
||||||
if (!$db->isCloud($id)) {
|
if (!$db->isCloud($id)) {
|
||||||
|
|
1
init.php
1
init.php
|
@ -11,4 +11,5 @@ if (!$db->isInit()) {
|
||||||
echo L::db_init_error;
|
echo L::db_init_error;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$db->buildTables();
|
||||||
$db->cleanCloud();
|
$db->cleanCloud();
|
||||||
|
|
Loading…
Reference in a new issue