mirror of
https://github.com/kvazar-network/crawler-api-node.git
synced 2025-01-08 22:27:55 +00:00
make paths absolute
This commit is contained in:
parent
51d7eb4f4c
commit
e0831b59f5
16
crawler.php
16
crawler.php
@ -4,14 +4,14 @@ $semaphore = sem_get(1);
|
|||||||
|
|
||||||
if (false !== sem_acquire($semaphore, 1)) {
|
if (false !== sem_acquire($semaphore, 1)) {
|
||||||
|
|
||||||
require_once('config.php');
|
require_once(__DIR__ . '/config.php');
|
||||||
require_once('library/sqlite.php');
|
require_once(__DIR__ . '/library/sqlite.php');
|
||||||
require_once('library/api.php');
|
require_once(__DIR__ . '/library/api.php');
|
||||||
require_once('library/hash.php');
|
require_once(__DIR__ . '/library/hash.php');
|
||||||
require_once('library/base58.php');
|
require_once(__DIR__ . '/library/base58.php');
|
||||||
require_once('library/base58check.php');
|
require_once(__DIR__ . '/library/base58check.php');
|
||||||
require_once('library/crypto.php');
|
require_once(__DIR__ . '/library/crypto.php');
|
||||||
require_once('library/helper.php');
|
require_once(__DIR__ . '/library/helper.php');
|
||||||
|
|
||||||
$db = new SQLite(DB_NAME, DB_USERNAME, DB_PASSWORD);
|
$db = new SQLite(DB_NAME, DB_USERNAME, DB_PASSWORD);
|
||||||
$api = new API();
|
$api = new API();
|
||||||
|
Loading…
Reference in New Issue
Block a user