From 55f2b0090a9f711cfa383b0d3b3253c9431b93e9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 21 Jul 2017 14:39:14 +0300 Subject: add basic favorites via a horrible hack --- index.php | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 50 insertions(+), 5 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 5743ea6..b2291c0 100644 --- a/index.php +++ b/index.php @@ -46,6 +46,8 @@ die(dirname(SCRATCH_DB) . " directory is not writable"); } + @$mode = htmlspecialchars($_REQUEST["mode"]); + $ldb = Db::get(); ?> @@ -90,16 +92,23 @@ + +