mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-08 22:07:56 +00:00
update api version
This commit is contained in:
parent
6c41dd5831
commit
4801360a51
@ -296,7 +296,7 @@ define('CRAWL_MANIFEST', true);
|
|||||||
* Manifest API version compatibility
|
* Manifest API version compatibility
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('CRAWL_MANIFEST_API_VERSION', 0.4);
|
define('CRAWL_MANIFEST_API_VERSION', 0.5);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set default auto-crawl status for new manifest added
|
* Set default auto-crawl status for new manifest added
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Current version
|
// Current version
|
||||||
define('API_VERSION', 0.4);
|
define('API_VERSION', 0.5);
|
||||||
|
|
||||||
// Load system dependencies
|
// Load system dependencies
|
||||||
require_once('../config/app.php');
|
require_once('../config/app.php');
|
||||||
@ -132,7 +132,9 @@ if (API_ENABLED) {
|
|||||||
'crawlHostDefaultStatus' => CRAWL_HOST_DEFAULT_STATUS,
|
'crawlHostDefaultStatus' => CRAWL_HOST_DEFAULT_STATUS,
|
||||||
'crawlHostDefaultMetaOnly' => CRAWL_HOST_DEFAULT_META_ONLY,
|
'crawlHostDefaultMetaOnly' => CRAWL_HOST_DEFAULT_META_ONLY,
|
||||||
'crawlHostPageSecondsOffset' => CRAWL_PAGE_SECONDS_OFFSET,
|
'crawlHostPageSecondsOffset' => CRAWL_PAGE_SECONDS_OFFSET,
|
||||||
|
'crawlHostPageMimeType' => CRAWL_PAGE_MIME_TYPE,
|
||||||
'crawlHostImageSecondsOffset' => CRAWL_IMAGE_SECONDS_OFFSET,
|
'crawlHostImageSecondsOffset' => CRAWL_IMAGE_SECONDS_OFFSET,
|
||||||
|
'crawlHostImageMimeType' => CRAWL_IMAGE_MIME_TYPE,
|
||||||
'cleanHostSecondsOffset' => CLEAN_HOST_SECONDS_OFFSET,
|
'cleanHostSecondsOffset' => CLEAN_HOST_SECONDS_OFFSET,
|
||||||
'crawlRobotsDefaultRules' => CRAWL_ROBOTS_DEFAULT_RULES,
|
'crawlRobotsDefaultRules' => CRAWL_ROBOTS_DEFAULT_RULES,
|
||||||
'crawlRobotsPostfixRules' => CRAWL_ROBOTS_POSTFIX_RULES,
|
'crawlRobotsPostfixRules' => CRAWL_ROBOTS_POSTFIX_RULES,
|
||||||
|
Loading…
Reference in New Issue
Block a user