Sitemap updates
This commit is contained in:
parent
46ea06a4c3
commit
68d5ff5a52
|
@ -1,10 +1,10 @@
|
||||||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||||
|
|
||||||
// Bludit version
|
// Bludit version
|
||||||
define('BLUDIT_VERSION', '1.1.2');
|
define('BLUDIT_VERSION', 'GithubVersion');
|
||||||
define('BLUDIT_CODENAME', 'The Dig');
|
define('BLUDIT_CODENAME', '');
|
||||||
define('BLUDIT_RELEASE_DATE', '2016-02-26');
|
define('BLUDIT_RELEASE_DATE', '');
|
||||||
define('BLUDIT_BUILD', '20160226');
|
define('BLUDIT_BUILD', '');
|
||||||
|
|
||||||
// Debug mode
|
// Debug mode
|
||||||
define('DEBUG_MODE', TRUE);
|
define('DEBUG_MODE', TRUE);
|
||||||
|
|
|
@ -25,7 +25,7 @@ class pluginSitemap extends Plugin {
|
||||||
// Create url, loc and lastmod elements
|
// Create url, loc and lastmod elements
|
||||||
$url = $doc->createElement('url');
|
$url = $doc->createElement('url');
|
||||||
$loc = $doc->createElement('loc', $Site->url());
|
$loc = $doc->createElement('loc', $Site->url());
|
||||||
$lastmod = $doc->createElement('lastmod', '');
|
$lastmod = $doc->createElement('lastmod', Date::current(SITEMAP_DATE_FORMAT));
|
||||||
|
|
||||||
// Append loc and lastmod -> url
|
// Append loc and lastmod -> url
|
||||||
$url->appendChild($loc);
|
$url->appendChild($loc);
|
||||||
|
|
Loading…
Reference in New Issue