EgrailLoadFunction('ShowSiteTools');
ShowSiteTools();
?> include("$ScriptRoot/$ScriptDir/handlers/LoginLogout.php"); ?>
// Put at the end of each file
// Egrail_Serialize -- the raw data from the table
// PermSesion -- the array that gets sets during the file
If (IsSet($PermUID) && $PermUID && IsSet($Egrail_Serialize) && IsSet($PermSession) && ($Egrail_Serialize != Serialize($PermSession))) {
db_update($USERDB,
array('session_data' => Serialize($PermSession)),
array('eguid' => $PermUID),
'wms_users',
EGDB_UPDATE);
}
db_cleanup();
?>