From 4b54f5919a62263b8718f36cf87b56f6e7d35ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 4 Nov 2019 17:52:17 +0100 Subject: [PATCH] initialize db if not found --- api.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/api.php b/api.php index 5a02cb8..cb9194a 100644 --- a/api.php +++ b/api.php @@ -1,6 +1,19 @@ exec(file_get_contents("outchat-ddl.sql")); +} $action = $_GET['action'];