changed initIdioma() to initLang()

master
pecesama 2007-07-20 21:58:46 +00:00
parent 7a0c1a877b
commit d0e8576f51
2 changed files with 3 additions and 3 deletions

View File

@ -11,10 +11,10 @@
=========================== */
?>
<?php
function initIdioma($lang = "en") {
function initLang($lang = "en") {
global $locale, $l10n;
$input = new FileReader(dirname(__FILE__)."/../idiomas/". $locale ."/lang.mo");
$input = new FileReader(dirname(__FILE__)."/../languages/". $locale ."/lang.mo");
$l10n = new gettext_reader($input);
}

View File

@ -32,5 +32,5 @@
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'streams.class.php');
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gettext.class.php');
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'lang.functions.php');
initIdioma('en');
initLang('en');
?>