projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small changes needed for client-side validation support.
[fa-stable.git]
/
includes
/
session.inc
diff --git
a/includes/session.inc
b/includes/session.inc
index 7bd85974f6b3b01dda46a7db59bc7b5eb1e90fcf..236d90e2245a2a7167fce39c23057669c269cd3a 100644
(file)
--- a/
includes/session.inc
+++ b/
includes/session.inc
@@
-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");
include_once($path_to_root . "/config.php");
include_once($path_to_root . "/includes/main.inc");
+// Ajax communication object
$Ajax =& new Ajax();
$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');
// intercept all output to destroy it in case of ajax call
register_shutdown_function('ob_end_flush');