Project

General

Profile

« Previous | Next » 

Revision 1074

Added by Matthias almost 15 years ago

replaced in form and news delimiter "&" with "&" was introduced with changeset [1069] but didn't work on all servers

View differences:

add_field.php
33 33
// Include WB admin wrapper script
34 34
require(WB_PATH.'/modules/admin.php');
35 35

  
36
//overwrite php.ini on Apache servers for valid SESSION ID Separator
37
if(function_exists('ini_set')) {
38
	ini_set('arg_separator.output', '&');
39
}
40

  
41 36
// Include the ordering class
42 37
require(WB_PATH.'/framework/class.order.php');
43 38
// Get new order
......
52 47

  
53 48
// Say that a new record has been added, then redirect to modify page
54 49
if($database->is_error()) {
55
	$admin->print_error($database->get_error(), WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
50
	$admin->print_error($database->get_error(), WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
56 51
} else {
57
	$admin->print_success($TEXT['SUCCESS'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
52
	$admin->print_success($TEXT['SUCCESS'], WB_URL.'/modules/form/modify_field.php?page_id='.$page_id.'&section_id='.$section_id.'&field_id='.$field_id);
58 53
}
59 54

  
60 55
// Print admin footer

Also available in: Unified diff