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