From 35c97662ee8587d35d57b4aa3a2aeafaa98f8518 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 16 Dec 2017 23:09:58 +0100 Subject: [PATCH] More bugfixing. --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index d38a15f..55bb26b 100644 --- a/index.php +++ b/index.php @@ -3,6 +3,7 @@ require_once __DIR__ . '/lib/autoloader.php'; use \TclUpdates\GotuObject; +use \TclUpdates\SQLiteWriter; use \TclUpdates\XmlParser; if ($_SERVER['REQUEST_METHOD'] == 'POST') { @@ -39,6 +40,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { // Parse XML into database $g = GotuObject::fromXmlParser($xp); if ($g->tv) { + $sqlw = new SQLiteWriter(); $result = $sqlw->addGotu($g, $file_date); // I don't care if we can use the data or not. Maybe we can use it later (backup copy). }