File Manager

Current Path : /webspace/www.babilon.be/html/shop/modules/gsitemapcron/
Upload File :
Current File : //webspace/www.babilon.be/html/shop/modules/gsitemapcron/gsitemap-cron.php

<?php

include(dirname(__FILE__).'/../../config/config.inc.php');
include(dirname(__FILE__).'/gsitemapcron.php');

if (substr(Tools::encrypt('gsitemapcron/cron'), 0, 10) != Tools::getValue('token') || !Module::isInstalled('gsitemapcron'))
	die('Bad token');

if (!defined('_PS_BASE_URL_'))
	define('_PS_BASE_URL_', Tools::getShopDomain(true));
if (!defined('_PS_BASE_URL_SSL_'))
	define('_PS_BASE_URL_SSL_', Tools::getShopDomainSsl(true));

if (!defined('_IMG_HTTP_'))
	define('_IMG_HTTP_', 'http://');

$gsitemap = new Gsitemapcron();
$gsitemap->generateSitemapIndex();

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com