Browse Source

update api version

main
ghost 2 years ago
parent
commit
4801360a51
  1. 2
      config/app.php.txt
  2. 4
      public/api.php

2
config/app.php.txt

@ -296,7 +296,7 @@ define('CRAWL_MANIFEST', true); @@ -296,7 +296,7 @@ define('CRAWL_MANIFEST', true);
* 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

4
public/api.php

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
<?php
// Current version
define('API_VERSION', 0.4);
define('API_VERSION', 0.5);
// Load system dependencies
require_once('../config/app.php');
@ -132,7 +132,9 @@ if (API_ENABLED) { @@ -132,7 +132,9 @@ if (API_ENABLED) {
'crawlHostDefaultStatus' => CRAWL_HOST_DEFAULT_STATUS,
'crawlHostDefaultMetaOnly' => CRAWL_HOST_DEFAULT_META_ONLY,
'crawlHostPageSecondsOffset' => CRAWL_PAGE_SECONDS_OFFSET,
'crawlHostPageMimeType' => CRAWL_PAGE_MIME_TYPE,
'crawlHostImageSecondsOffset' => CRAWL_IMAGE_SECONDS_OFFSET,
'crawlHostImageMimeType' => CRAWL_IMAGE_MIME_TYPE,
'cleanHostSecondsOffset' => CLEAN_HOST_SECONDS_OFFSET,
'crawlRobotsDefaultRules' => CRAWL_ROBOTS_DEFAULT_RULES,
'crawlRobotsPostfixRules' => CRAWL_ROBOTS_POSTFIX_RULES,

Loading…
Cancel
Save