Small changes needed for client-side validation support.
[fa-stable.git] / includes / session.inc
index 6de875b93bc78f3a81febbf9a816ef7b1a6be44b..236d90e2245a2a7167fce39c23057669c269cd3a 100644 (file)
@@ -128,8 +128,12 @@ 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();
 
+// js/php validation rules container
+$Validate = array();
+
 // intercept all output to destroy it in case of ajax call
 register_shutdown_function('ob_end_flush');
 ob_start('output_html',0);