Skip to content

Commit

Permalink
[FIX] Error with DB connection
Browse files Browse the repository at this point in the history
  • Loading branch information
blankoworld committed Mar 10, 2012
1 parent eec0e95 commit c8cc619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shorturl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c8cc619

Please sign in to comment.