<?php
/**
* Localization file
*
* Perform a parsing of the localization language file.
*
* @author Edoardo Tenani <hide@address.com>
* @license GNU Public License
* <http://opensource.org/licenses/gpl-3.0.php>
* @copyright Edoardo Tenani - 2010
*
* @package cboxmanager
* @subpackage L10n-i18n
* @category L10n
* @since 0.0.4
*/
include "config.php";
require "lib/class.l10n.php";
if ( __FILE__ == $_SERVER['SCRIPT_FILENAME'] || !$_CONFIG["update"]["lang"] ) {
exit('<b>FORBIDDEN</b> : This file can not be accessed directly');
}
$lang = new L10n($_CONFIG["lang_settings"]["load_dir"], $_CONFIG["lang_settings"]["save_dir"], $_CONFIG["lang"]);
$lang->parse();
header("location:index.php?a=admin");
?>