From 19985dbb8c0aa66dc4bf7905abc1148de909097d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 11 Jan 2022 12:35:47 +0100 Subject: prvi-commit --- frontend/install/ajax.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 frontend/install/ajax.php (limited to 'frontend/install/ajax.php') diff --git a/frontend/install/ajax.php b/frontend/install/ajax.php new file mode 100644 index 0000000..3437c34 --- /dev/null +++ b/frontend/install/ajax.php @@ -0,0 +1,30 @@ +ajaxSubmitSettings(); + } + + // Izvedemo uvoz celotne baze + if($_GET['a'] == 'import_database'){ + + $db = new ImportDB(); + $db->executeImport(); + } + + // Izvedemo posodobitev baze + if($_GET['a'] == 'update_database'){ + + $db = new ImportDB(); + $db->executeUpdate(); + } -- cgit v1.2.3