Project

General

Profile

« Previous | Next » 

Revision 1414

Added by Dietmar almost 14 years ago

fix wrong error message in media
backend start warning if upgrade-script exists

View differences:

delete.php
32 32

  
33 33
// Check to see if it contains ..
34 34
if (!check_media_path($directory)) {
35
	$admin->print_header();
36
	$admin->print_error($MESSAGE['MEDIA']['DOT_DOT_SLASH']);
35
	// $admin->print_header();
36
	$admin->print_error($MESSAGE['MEDIA']['DIR_DOT_DOT_SLASH'],WB_URL.'/admin/media/browse.php?dir=',false );
37 37
}
38 38

  
39 39
// Get the temp id
40 40
$file_id = $admin->checkIDKEY('id', false, 'GET');
41 41
if (!$file_id) {
42
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], WB_URL);
42
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], WB_URL,false);
43 43
}
44 44

  
45 45
// Get home folder not to show

Also available in: Unified diff