mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-09 06:17:52 +00:00
25 lines
606 B
Plaintext
25 lines
606 B
Plaintext
<?php
|
|
|
|
// Debug
|
|
ini_set('display_errors', '1');
|
|
ini_set('display_startup_errors', '1');
|
|
error_reporting(E_ALL);
|
|
|
|
// Website
|
|
define('WEBSITE_DOMAIN', (issue($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] : ''));
|
|
define('WEBSITE_PAGINATION_SEARCH_RESULTS_LIMIT', 100);
|
|
define('WEBSITE_IDENTICON_IMAGE_CACHE', true);
|
|
|
|
// 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');
|