From c8cc6195eed6fe5737358d15491f47f507dd33da Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 10 Mar 2012 17:55:07 +0100 Subject: [PATCH] [FIX] Error with DB connection --- shorturl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shorturl.php b/shorturl.php index 3b1f4e0..a7135fa 100755 --- a/shorturl.php +++ b/shorturl.php @@ -31,7 +31,7 @@ $BLK_SOURCE = "https://github.com/blankoworld/Simple-URL-Shortener"; $FILE = basename($_SERVER['PHP_SELF']); -$DBFILE = basename($FILE, ".php") . ".db"; +$DBFILE = "index.db"; /* basename($FILE, ".php") . ".db";*/ /* Database object */ if (!file_exists($DBFILE))