<?php
// $Id: header_auto.php,v 1.3 2005/10/22 08:23:32 ohwada Exp $

//=========================================================
// What's New Module
// 2005-09-28 K.OHWADA
//=========================================================

// include files
include "../../mainfile.php";

// correspondence to allow_url_fopen = off
if ( !get_cfg_var('allow_url_fopen') )
{
	include_once XOOPS_ROOT_PATH."/class/snoopy.php";
}

include_once XOOPS_ROOT_PATH.'/modules/whatsnew/class/whatsnew_remote_file.php';
include_once XOOPS_ROOT_PATH.'/modules/whatsnew/class/whatsnew_auto_base.php';
include_once XOOPS_ROOT_PATH."/modules/whatsnew/class/whatsnew_lang_base.php";

$whatsnew_file_lang = XOOPS_ROOT_PATH."/modules/whatsnew/language/".$xoopsConfig['language']."/whatsnew_lang_conv.php";
if ( file_exists($whatsnew_file_lang) ) 
{
	include_once $whatsnew_file_lang;
}
else
{
	include_once XOOPS_ROOT_PATH."/modules/whatsnew/language/english/whatsnew_lang_conv.php";
}


?>