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");
/*
language::set_language($_SESSION['language']->code);
include_once($path_to_root . "/config.php");
+include_once($path_to_root . "/includes/main.inc");
+// Ajax communication object
$Ajax =& new Ajax();
-//include_once($path_to_root . "/includes/main.inc");
-
-//include_once($path_to_root . "/includes/ui/ui_msgs.inc");
+// js/php validation rules container
+$Validate = array();
// intercept all output to destroy it in case of ajax call
register_shutdown_function('ob_end_flush');