changed initIdioma() to initLang()
parent
7a0c1a877b
commit
d0e8576f51
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
?>
|
||||
Loading…
Reference in New Issue