Project

General

Profile

« Previous | Next » 

Revision 1460

Added by Dietmar over 13 years ago

Ticket 1101, phtml|php5|php4|php|cgi|pl|exe|com|bat|src| will be hardcoded
additional you can set more extension in settings extended in field rename_file_types
rename_file_types now is a blacklist and will no longer be renamed to .txt

update admintools modules to work with SecureForm Patch from NorHei

View differences:

tool.php
39 39

  
40 40
// Check if user selected what add-ons to reload
41 41
if(isset($_POST['save_settings']))  {
42

  
42 43
	if (!$admin->checkFTAN())
43 44
	{
44
		$admin->print_header();
45
		if(!$admin_header) { $admin->print_header(); }
45 46
		$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$_SERVER['REQUEST_URI']);
46 47
	}
47
	$admin->print_header();
48 48

  
49 49
	// Include functions file
50 50
	require_once(WB_PATH.'/framework/functions.php');
......
53 53
	save_setting('mod_jsadmin_ajax_order_sections', isset($_POST['ajax_order_sections']));
54 54
   // 	echo '<div style="border: solid 2px #9c9; background: #ffd; padding: 0.5em; margin-top: 1em">'.$MESSAGE['SETTINGS']['SAVED'].'</div>';
55 55
	// check if there is a database error, otherwise say successful
56
	if(!$admin_header) { $admin->print_header(); }
56 57
	if($database->is_error()) {
57 58
		$admin->print_error($database->get_error(), $js_back);
58 59
	} else {

Also available in: Unified diff