Project

General

Profile

« Previous | Next » 

Revision 100

Added by stefan about 19 years ago

Fixed problems with settings section in admin.

View differences:

save.php
36 36
	$admin = new admin('Settings', 'settings_advanced');
37 37
}
38 38

  
39
//print_r($_POST);
40

  
39 41
// Work-out file mode
40 42
if($advanced == '') {
41 43
	// Check if should be set to 777 or left alone
......
134 136
			$value=$file_mode;
135 137
			break;
136 138
	}
139
	//echo $setting_name.':'.$value."<br />";
137 140
	$database->query("UPDATE ".TABLE_PREFIX."settings SET value = '$value' WHERE name = '$setting_name'");
138 141
}
139 142

  
......
155 158
	exit();
156 159
}
157 160

  
161
$admin->print_success($MESSAGE['SETTINGS']['SAVED'], ADMIN_URL.'/settings/index.php'.$advanced);
158 162
$admin->print_footer();
159 163

  
160 164
?>

Also available in: Unified diff