Fixed gettext php emulation side bug.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 24 Feb 2009 23:31:02 +0000 (23:31 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 24 Feb 2009 23:31:02 +0000 (23:31 +0000)
includes/session.inc

index a6662a7ee0988c58ae3bce3a44a5cb359a4f1303..7bd85974f6b3b01dda46a7db59bc7b5eb1e90fcf 100644 (file)
@@ -103,7 +103,6 @@ include_once($path_to_root . "/includes/current_user.inc");
 include_once($path_to_root . "/includes/lang/language.php");
 include_once($path_to_root . "/config_db.php");
 include_once($path_to_root . "/includes/ajax.inc");
-include_once($path_to_root . "/includes/main.inc");
 include_once($path_to_root . "/includes/ui/ui_msgs.inc");
 
 /*
@@ -127,6 +126,7 @@ if (!isset($_SESSION['languages']))
 language::set_language($_SESSION['language']->code);
 
 include_once($path_to_root . "/config.php");
+include_once($path_to_root . "/includes/main.inc");
 
 $Ajax =& new Ajax();