2023-04-01 16:29:39 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// Debug
|
|
|
|
ini_set('display_errors', '1');
|
|
|
|
ini_set('display_startup_errors', '1');
|
|
|
|
error_reporting(E_ALL);
|
|
|
|
|
|
|
|
// Website
|
2023-04-02 15:08:03 +00:00
|
|
|
define('WEBSITE_DOMAIN', !empty($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] : '');
|
2023-04-01 16:29:39 +00:00
|
|
|
|
|
|
|
// Database
|
|
|
|
define('DB_NAME', 'database.sqlite');
|
|
|
|
define('DB_USERNAME', '');
|
|
|
|
define('DB_PASSWORD', '');
|
|
|
|
|
|
|
|
// Crawl settings
|
|
|
|
define('CRAWL_IMAGE', false); // @TODO
|
|
|
|
|
|
|
|
define('CRAWL_PAGE_LIMIT', 10);
|
|
|
|
define('CRAWL_PAGE_SECONDS_OFFSET', 3600);
|
|
|
|
|
|
|
|
define('CRAWL_URL_REGEXP', '/^.*$/ui');
|