From: Brian Flowers Date: Tue, 27 Sep 2016 05:48:31 +0000 (-0400) Subject: bugfixes X-Git-Url: http://git.slightlycyberpunk.com%2C%20git.slightlycyberpunk.com/git/?a=commitdiff_plain;h=1e4bbbabf68a101144a43b15032d00ede75e793d;p=bdsm-web.git bugfixes --- diff --git a/configure.php b/configure.php index 43527a7..4742186 100755 --- a/configure.php +++ b/configure.php @@ -1,7 +1,7 @@ +query("SELECT * FROM bdsmweb"); @@ -10,7 +10,7 @@ if( $db->errorInfo()[0] == "HY000" ) $query = "CREATE TABLE bdsmweb (host VARCHAR(128),". "attribute VARCHAR(128), name VARCHAR(128), ". "graph integer, maximum integer, minimum integer, ". - "duration integer, primary key (host, attribute);"; + "duration integer, primary key (host, attribute));"; $db->query($query); $result = $db->query("SELECT * FROM bdsmweb;");