[svn r20108] FS#4046 - Initialization of the variables $language_interface and $language_interface_initial_value within the script .../dokeos/main/install/index.php in order the function get_lang(...) to work properly during system installation.

skala
Ivan Tcholakov 17 years ago
parent bd14ed4bf8
commit 744ed25526
  1. 6
      main/install/index.php

@ -67,6 +67,10 @@ elseif ( isset($_SESSION['install_language']) && $_SESSION['install_language'] )
include_once("../lang/$install_language/install.inc.php");
}
// These global variables must be set for proper working of the function get_lang(...) during the installation.
$language_interface = $install_language;
$language_interface_initial_value = $install_language;
$charset = '';
//force ISO-8859-15 for European languages. Leave Apache determine the encoding for others (HTML declaring UTF-8)
$euro_langs = array('english','french','french_KM','french_corporate','french_org','dutch','spanish','german','italian','greek','danish','swedish','norwegian','polish','galician','catalan','czech','finnish');
@ -715,4 +719,4 @@ else
 
</div>
</body>
</html>
</html>

Loading…
Cancel
Save