Move the build tables in the init.php file

This commit is contained in:
Gregory Trolliet 2020-11-23 13:18:24 +01:00
parent 18af3af7d4
commit a806f4d355
2 changed files with 1 additions and 1 deletions

View file

@ -2,7 +2,6 @@
include('init.php');
include('templates/header.php');
$db->buildTables();
if (isset($_GET['id'])) {
$id = $_GET['id'];
if (!$db->isCloud($id)) {

View file

@ -11,4 +11,5 @@ if (!$db->isInit()) {
echo L::db_init_error;
return;
}
$db->buildTables();
$db->cleanCloud();