mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-09 06:17:52 +00:00
add options documentation
This commit is contained in:
parent
1c4904d333
commit
13431008c4
@ -149,10 +149,39 @@ define('CLEAN_HOST_LIMIT', 20);
|
|||||||
define('CLEAN_HOST_SECONDS_OFFSET', 3600);
|
define('CLEAN_HOST_SECONDS_OFFSET', 3600);
|
||||||
|
|
||||||
// API settings
|
// API settings
|
||||||
|
|
||||||
|
/*
|
||||||
|
* JSON API features
|
||||||
|
*
|
||||||
|
* When false - every the actions settings below will be ignored
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('API_ENABLED', true);
|
define('API_ENABLED', true);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Search API
|
||||||
|
*
|
||||||
|
* When false - API_SEARCH_PAGINATION_RESULTS_LIMIT will be ignored
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('API_SEARCH_ENABLED', true);
|
define('API_SEARCH_ENABLED', true);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Search results per page
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('API_SEARCH_PAGINATION_RESULTS_LIMIT', 20);
|
define('API_SEARCH_PAGINATION_RESULTS_LIMIT', 20);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Hosts distribution API
|
||||||
|
*
|
||||||
|
* When false - API_HOSTS_FIELDS will be ignored
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('API_HOSTS_ENABLED', true);
|
define('API_HOSTS_ENABLED', true);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Database host fields comma separated or * to share all the fields
|
||||||
|
*
|
||||||
|
*/
|
||||||
define('API_HOSTS_FIELDS', '`scheme`,`name`,`port`,`crawlPageLimit`,`robots`,`robotsPostfix`,`timeAdded`,`timeUpdated`'); // string: *|field names comma separated
|
define('API_HOSTS_FIELDS', '`scheme`,`name`,`port`,`crawlPageLimit`,`robots`,`robotsPostfix`,`timeAdded`,`timeUpdated`'); // string: *|field names comma separated
|
Loading…
Reference in New Issue
Block a user