Browse Source

changed initIdioma() to initLang()

pecesama 17 years ago
parent
commit
d0e8576f51
2 changed files with 3 additions and 3 deletions
  1. 2 2
      classes/lang.functions.php
  2. 1 1
      config-sample.php

+ 2 - 2
classes/lang.functions.php View File

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

+ 1 - 1
config-sample.php View File

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