From a91392bc35d519f5320fb8612a2497f4d6d68f3c Mon Sep 17 00:00:00 2001 From: d47081 Date: Fri, 15 Jul 2022 11:26:06 +0300 Subject: [PATCH] change driver to sqlite --- crawler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crawler.php b/crawler.php index 5337d6b..6b2575c 100644 --- a/crawler.php +++ b/crawler.php @@ -5,7 +5,7 @@ $semaphore = sem_get(1); if (false !== sem_acquire($semaphore, 1)) { require_once('config.php'); - require_once('library/mysql.php'); + require_once('library/sqlite.php'); require_once('library/api.php'); require_once('library/hash.php'); require_once('library/base58.php'); @@ -13,7 +13,7 @@ if (false !== sem_acquire($semaphore, 1)) { require_once('library/crypto.php'); require_once('library/helper.php'); - $db = new MySQL(); + $db = new SQLite(); $api = new API(); $blockLast = $db->getLastBlock();