From a806f4d3556d96271e99cfb330ed27123f727d59 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Mon, 23 Nov 2020 13:18:24 +0100 Subject: [PATCH] Move the build tables in the init.php file --- index.php | 1 - init.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 144b679..470eb15 100644 --- a/index.php +++ b/index.php @@ -2,7 +2,6 @@ include('init.php'); include('templates/header.php'); -$db->buildTables(); if (isset($_GET['id'])) { $id = $_GET['id']; if (!$db->isCloud($id)) { diff --git a/init.php b/init.php index 763aec6..57d6490 100644 --- a/init.php +++ b/init.php @@ -11,4 +11,5 @@ if (!$db->isInit()) { echo L::db_init_error; return; } +$db->buildTables(); $db->cleanCloud();