Location: PHPKode > projects > Lead Follow-Up Database > web/codelib/cfg/config.langcode.inc.php
<?php
//=================================================================
// Lead Follow-Up Database
// Copyright (c) phpkobo.com ( http://www.phpkobo.com/ )
// Email : hide@address.com
// ID : LF201_107
//
// This software is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; version 2 of the
// License.
//
// [Installation Guide]
// http://www.phpkobo.com/doc.php?d=install&p=LF201_107
//
//=================================================================

//-- Langauge Code
define( 'LC_ENG', 'eng' );
define( 'LC_JPN', 'jpn' );

//----------------------------------------------------------------
// _LANG_FILE_
//----------------------------------------------------------------
function _LANG_FILE_( $filename )
{
	global $LANG_CODE;
	if ( !in_array( $LANG_CODE, array(
		LC_ENG,
		LC_JPN
	) ) )
	{
 		echo 'Invalid Language Code';
 		exit;
	}
	return str_replace( "##LANG_CODE##", $LANG_CODE, $filename ); 
}

//----------------------------------------------------------------
// END OF FILE
//----------------------------------------------------------------

?>
Return current item: Lead Follow-Up Database