From 92babb43a2a0041a71b54db35cbc9d2fba908a63 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Nov 2014 02:41:21 +0100 Subject: Rewrote the linkshorter. --- linkshorter/db.php | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 linkshorter/db.php (limited to 'linkshorter/db.php') diff --git a/linkshorter/db.php b/linkshorter/db.php deleted file mode 100644 index 4dcf58a..0000000 --- a/linkshorter/db.php +++ /dev/null @@ -1,16 +0,0 @@ -connect('/var/run/redis/redis.sock'); - -try { - $db->ping(); -} catch (Exception $e){ - do_output("
No connection to the database established.
", "500 Server Failure", false, "No connection to the database established.
", "500 Server Failure", false, "