From 37cf84422f887878aa4d7ae26b67cd242eefb6a8 Mon Sep 17 00:00:00 2001 From: Heihachi Date: Sat, 15 Mar 2014 09:26:13 +0000 Subject: [PATCH] A few fixes --- public/include/classes/bitcoin.class.php | 3 ++- sql/000_base_structure.sql | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/include/classes/bitcoin.class.php b/public/include/classes/bitcoin.class.php index 772594f..5c5c397 100644 --- a/public/include/classes/bitcoin.class.php +++ b/public/include/classes/bitcoin.class.php @@ -80,4 +80,5 @@ public function validateaddress($coin_address) { } // Load this wrapper -$bitcoin = new Bitcoin($config['wallet']['type'], $config['wallet']['username'], $config['wallet']['password'], $config['wallet']['host'], DEBUG); \ No newline at end of file +// Heihachi: added NULL to make the __construct function happy when DEBUG != 0 +$bitcoin = new Bitcoin($config['wallet']['type'], $config['wallet']['username'], $config['wallet']['password'], $config['wallet']['host'], NULL, DEBUG); \ No newline at end of file diff --git a/sql/000_base_structure.sql b/sql/000_base_structure.sql index af49ce2..58730db 100644 --- a/sql/000_base_structure.sql +++ b/sql/000_base_structure.sql @@ -62,6 +62,7 @@ CREATE TABLE IF NOT EXISTS `settings` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.1'); +INSERT INTO `settings` (`name`, `value`) VALUES ('website_theme', 'faucet'); CREATE TABLE IF NOT EXISTS `tokens` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT,