From 2b8b845abe7c13ecbb266613910484310cffe8e1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Mar 2021 21:14:35 +0300 Subject: * use ORM for trivial queries * environment-based configuration * useradm.php -> update.php with new options * support for schema migrations * various fixes --- common.php | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 common.php (limited to 'common.php') diff --git a/common.php b/common.php deleted file mode 100644 index 367ae55..0000000 --- a/common.php +++ /dev/null @@ -1,26 +0,0 @@ -query("SELECT id FROM epube_users LIMIT 1"); - - if (!$res) { - die("Test query failed, is schema installed? (sqlite3 " . SCRATCH_DB . "< schema.sql)"); - } - - } catch (Exception $e) { - die($e); - } - -} \ No newline at end of file -- cgit v1.2.3