update api version

This commit is contained in:
ghost 2023-05-06 13:55:05 +03:00
parent 6c41dd5831
commit 4801360a51
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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,