Ejemplo n.º 1
0
// MODULE_SITEMAPXML_USE_XSL
if (!get_cfg_var('safe_mode') && function_exists('set_time_limit')) {
    set_time_limit(0);
}
// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_SITEMAPXML');
require_once 'includes/addon_modules/sitemapXML/classes/sitemapxml.php';
/**
 * load language files
 */
require DIR_WS_MODULES . zen_get_module_directory('require_languages.php');
$breadcrumb->add(NAVBAR_TITLE);
$inline = isset($_GET['inline']) && $_GET['inline'] == 'yes' ? true : false;
$genxml = !isset($_GET['genxml']) || $_GET['genxml'] != 'no' ? true : false;
$ping = isset($_GET['ping']) && $_GET['ping'] == 'yes' ? true : false;
$checkurl = isset($_GET['checkurl']) && $_GET['checkurl'] == 'yes' ? true : false;
$rebuild = isset($_GET['rebuild']) && $_GET['rebuild'] == 'yes' ? true : false;
/**
 * load the site map class
 */
$zen_SiteMapXML = new zen_SiteMapXML($inline, $ping, $rebuild, $genxml, 'pub/');
$zen_SiteMapXML->setCheckURL($checkurl);
//$tpl_dir = $template->get_template_dir('gss\.xsl', DIR_WS_TEMPLATE, $current_page_base, 'css');
$zen_SiteMapXML->setStylesheet(zen_href_link($gss_tpl_dir . '/gss.xsl', '', 'NONSSL', false, false, true));
$SiteMapXMLmodules = array();
//$SiteMapXMLmodules = glob(DIR_WS_MODULES . 'pages/' . $current_page_base . '/sitemapxml_*.php');
$SiteMapXMLmodules = glob('includes/addon_modules/sitemapXML/lib/sitemapxml_*.php');
// This should be last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_SITEMAPXML');
@ini_set('display_errors', '0');
error_reporting(0);
Ejemplo n.º 2
0
// SITEMAPXML_XML_FS_DIRECTORY
// SITEMAPXML_USE_XSL
if (!get_cfg_var('safe_mode') && function_exists('set_time_limit')) {
    set_time_limit(0);
}
// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_SITEMAPXML');
require DIR_WS_CLASSES . 'sitemapxml.php';
/**
 * load language files
 */
require DIR_WS_MODULES . zen_get_module_directory('require_languages.php');
$breadcrumb->add(NAVBAR_TITLE);
$inline = isset($_GET['inline']) && $_GET['inline'] == 'yes' ? true : false;
$genxml = !isset($_GET['genxml']) || $_GET['genxml'] != 'no' ? true : false;
$ping = isset($_GET['ping']) && $_GET['ping'] == 'yes' ? true : false;
$checkurl = isset($_GET['checkurl']) && $_GET['checkurl'] == 'yes' ? true : false;
$rebuild = isset($_GET['rebuild']) && $_GET['rebuild'] == 'yes' ? true : false;
/**
 * load the site map class
 */
$zen_SiteMapXML = new zen_SiteMapXML($inline, $ping, $rebuild, $genxml);
$zen_SiteMapXML->setCheckURL($checkurl);
$tpl_dir = $template->get_template_dir('gss\\.xsl', DIR_WS_TEMPLATE, $current_page_base, 'css');
$zen_SiteMapXML->setStylesheet($tpl_dir . '/gss.xsl');
$SiteMapXMLmodules = array();
$SiteMapXMLmodules = glob(DIR_WS_MODULES . 'pages/' . $current_page_base . '/sitemapxml_*.php');
// This should be last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_SITEMAPXML');
@ini_set('display_errors', '0');
error_reporting(0);