From: Janusz Dobrowolski Date: Mon, 16 Mar 2009 19:44:31 +0000 (+0000) Subject: SID & start_form() cleanup. X-Git-Tag: v2.4.2~19^2~1481 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=e8ae3516539a520338117f25d401c0fc234973a4;p=fa-stable.git SID & start_form() cleanup. --- diff --git a/.htaccess b/.htaccess index b923b02e..03410fbc 100644 --- a/.htaccess +++ b/.htaccess @@ -4,6 +4,8 @@ # register_globals ON php_flag magic_quotes_gpc Off php_flag register_globals Off +# do not use SID in url +php_flag session.use_trans_sid Off #Sometimes neccessary to add those # diff --git a/access/logout.php b/access/logout.php index 716bbfe1..46357a15 100644 --- a/access/logout.php +++ b/access/logout.php @@ -40,7 +40,7 @@ page(_("Logout"), true, false, "", get_js_png_fix());
" . _("Click here to Login Again.") . ""; + echo "" . _("Click here to Login Again.") . ""; ?>
diff --git a/admin/attachments.php b/admin/attachments.php index 8f517e8a..12bab651 100644 --- a/admin/attachments.php +++ b/admin/attachments.php @@ -144,7 +144,7 @@ if ($Mode == 'RESET') function viewing_controls() { - start_form(false, true); + start_form(); start_table("class='tablestyle_noborder'"); diff --git a/admin/backups.php b/admin/backups.php index f1353193..46442458 100644 --- a/admin/backups.php +++ b/admin/backups.php @@ -32,7 +32,7 @@ handle_form($db_connections[$db_name]); page(_("Backup and Restore Database"), false, false, '', '', true); //------------------------------------------------------------------------------- -start_form(true, true); +start_form(true); $cmb = get_backup_file_combo(); $compr = get_compr_combo(); diff --git a/admin/create_coy.php b/admin/create_coy.php index 8ec0fc4a..eec63648 100644 --- a/admin/create_coy.php +++ b/admin/create_coy.php @@ -264,7 +264,7 @@ function display_company_edit($selected_id) else $n = count($db_connections); - start_form(true, true); + start_form(true); echo "