Small changes needed for client-side validation support.
[fa-stable.git] / includes / session.inc
index 7bd85974f6b3b01dda46a7db59bc7b5eb1e90fcf..236d90e2245a2a7167fce39c23057669c269cd3a 100644 (file)
@@ -128,11 +128,11 @@ 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');