Browse Source

update manifest API

main
ghost 1 year ago
parent
commit
282a6d609d
  1. 2
      config/app.php.txt
  2. 3
      public/api.php

2
config/app.php.txt

@ -384,7 +384,7 @@ define('CRAWL_MANIFEST', true); @@ -384,7 +384,7 @@ define('CRAWL_MANIFEST', true);
* Manifest API version compatibility
*
*/
define('CRAWL_MANIFEST_API_VERSION', 0.11);
define('CRAWL_MANIFEST_API_VERSION', 0.12);
/*
* Set default auto-crawl status for new manifest added

3
public/api.php

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
<?php
// Current version
define('API_VERSION', 0.11);
define('API_VERSION', 0.12);
// Load system dependencies
require_once(__DIR__ . '/../config/app.php');
@ -116,7 +116,6 @@ if (API_ENABLED) { @@ -116,7 +116,6 @@ if (API_ENABLED) {
'crawlHostPageSecondsOffset' => CRAWL_PAGE_SECONDS_OFFSET,
'crawlHostPageHomeSecondsOffset' => CRAWL_PAGE_HOME_SECONDS_OFFSET,
'crawlHostPageMimeIndex' => CRAWL_PAGE_MIME_INDEX,
'cleanHostSecondsOffset' => CLEAN_HOST_SECONDS_OFFSET,
'crawlRobotsDefaultRules' => CRAWL_ROBOTS_DEFAULT_RULES,
'crawlRobotsPostfixRules' => CRAWL_ROBOTS_POSTFIX_RULES,
],

Loading…
Cancel
Save