Sitemap updates

This commit is contained in:
dignajar 2016-04-03 19:20:24 -03:00
parent 46ea06a4c3
commit 68d5ff5a52
2 changed files with 5 additions and 5 deletions

View File

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

View File

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