From 8dda9e13a614aef8a10c909e1d0347a32cd8aeee Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Sun, 22 Mar 2015 13:29:35 -0400 Subject: [PATCH 1/2] Add success message on running dbsetup --- dbsetup.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbsetup.php b/dbsetup.php index f92b7b3..ac2a90f 100644 --- a/dbsetup.php +++ b/dbsetup.php @@ -38,6 +38,8 @@ $sql = "CREATE TABLE IF NOT EXISTS `stat` ( $result = $conn->query($sql); if (!$result) { printf("Errormessage: %s\n", $conn->error); +} else{ + print "success"; } ?> \ No newline at end of file From 10e84572113a2c1d762579cddafa42eda291bb45 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Sun, 22 Mar 2015 13:43:27 -0400 Subject: [PATCH 2/2] Fix broken path --- scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrape.php b/scrape.php index ed19261..328f3f6 100644 --- a/scrape.php +++ b/scrape.php @@ -194,7 +194,7 @@ function cleanCookies(){ } function add_data($data){ - include('globals.php'); + include('settings/globals.php'); $conn = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); // Check connection if (!$conn) {