<?php

//=========================================================
// Tell a Friend Module
// api init.php
// 2005-05-10 K.OHWADA
//=========================================================

global $xoopsConfig;

// 0=disable 1=enable
$TELLAFRIEND_K_ENABLE = 1;

//---------------------------------------------------------
// include files
//---------------------------------------------------------
$tellafriend_k_root = XOOPS_ROOT_PATH."/modules/tellafriend_k";
include_once $tellafriend_k_root."/class/tellafriend_k_base.php";

$tellafriend_k_file = $tellafriend_k_root."/language/".$xoopsConfig['language']."/tellafriend_k_lang.php";

if ($TELLAFRIEND_K_ENABLE && file_exists( $tellafriend_k_file )) 
{
	include_once $tellafriend_k_file;
}
else
{
	include_once $tellafriend_k_root."/language/english/tellafriend_k_lang.php";
}

include_once $tellafriend_k_root."/class/tellafriend_k.php";

?>