Added closing transactions up to selected date.
[fa-stable.git] / install / isession.inc
index 8e676e2f73568edf0a12955cbfc3fccac5818124..77540a76dde0dfacc37296a6c1291e0afaab4e7f 100644 (file)
@@ -52,6 +52,10 @@ if (!isset($path_to_root))
 if (isset($_GET['path_to_root']) || isset($_POST['path_to_root']))
        die("Restricted access");
 
+include_once($path_to_root . "/includes/errors.inc");
+// collect all error msgs
+set_error_handler('error_handler' /*, errtypes */);
+
 include_once($path_to_root . "/includes/current_user.inc");
 include_once($path_to_root . "/includes/lang/language.php");
 include_once($path_to_root . "/includes/ajax.inc");
@@ -68,9 +72,20 @@ include_once($path_to_root . "/config.default.php");
 
 $inst_langs = array(
   'C' => array ( 'name' => 'English',  'code' => 'C',          'encoding' => 'iso-8859-1'),
+  'ar_EG' => array ( 'name' => 'Arabic',       'code' => 'ar_EG',      'encoding' => 'utf-8', 'rtl' => true),
   'da_DK' => array ( 'name' => 'Dansk',        'code' => 'da_DK',      'encoding' => 'iso-8859-1'),
+  'de_DE' => array ( 'name' => 'Deutsch',      'code' => 'de_DE',      'encoding' => 'iso-8859-1'),
+  'el_GR' => array ( 'name' => 'Greek',        'code' => 'el_GR',      'encoding' => 'utf-8'),
+  'es_MX' => array ( 'name' => 'Spanish',      'code' => 'es_MX',      'encoding' => 'iso-8859-1'),
+  'fr_FR' => array ( 'name' => 'Français',     'code' => 'fr_FR',      'encoding' => 'iso-8859-1'),
+  'id_ID' => array ( 'name' => 'Indonesian','code' => 'id_ID', 'encoding' => 'iso-8859-1'),
+  'it_IT' => array ( 'name' => 'Italian','code' => 'it_IT',    'encoding' => 'iso-8859-1'),
+  'ka_GE' => array ( 'name' => 'Georgian','code' => 'ka_GE',   'encoding' => 'utf-8'),
+  'nl_BE' => array ( 'name' => 'Nederlands','code' => 'nl_BE', 'encoding' => 'iso-8859-1'),
   'pl_PL' => array ( 'name' => 'Polski',       'code' => 'pl_PL',      'encoding' => 'iso-8859-2'),
+  'pt_BR' => array ( 'name' => 'Português','code' => 'pt_BR',  'encoding' => 'iso-8859-1'),
   'sv_SE' => array ( 'name' => 'Svenska',      'code' => 'sv_SE',      'encoding' => 'iso-8859-1'),
+  'zh_CN' => array ( 'name' => 'Chinese Simplifed',    'code' => 'zh_CN',      'encoding' => 'utf-8'),
 );
 
 $Ajax = new Ajax();
@@ -108,9 +123,6 @@ $Pagehelp = array();
 register_shutdown_function('end_flush');
 ob_start('output_html',0);
 
-// colect all error msgs
-set_error_handler('error_handler' /*, errtypes */);
-
 if (!isset($_SESSION["wa_current_user"]))
        $_SESSION["wa_current_user"] = new current_user();
 
@@ -120,4 +132,4 @@ $SysPrefs = &$_SESSION['SysPrefs'];
 // We quote all values later with db_escape() before db update.
        $_POST = strip_quotes($_POST);
 
-?>
\ No newline at end of file
+?>