Project

General

Profile

« Previous | Next » 

Revision 1473

Added by Dietmar almost 13 years ago

found more backlinks to fix
remove not working ftan in frontend
fixed redirect in login procedure (Tks to mr-fan)
update droplet LoginBox, additional parameter $redirect
remove double config call in media (Tks to Testör)

View differences:

backup_droplets.php
31 31
// protect from CSRF
32 32
$id = $admin->checkIDKEY('id', false, 'GET');
33 33
if (!$id or $id != 999) {
34
 $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], ADMIN_URL);
34
 $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], $module_edit_link);
35 35
 exit();
36 36
}
37 37

  
......
72 72
delete_directory ( $temp_dir );
73 73
$admin->print_footer();
74 74

  
75

  
76 75
function delete_directory($dirname) {
77 76
    if (is_dir($dirname))
78 77
        $dir_handle = opendir($dirname);
......
90 89
    rmdir($dirname);
91 90
    return true;
92 91
}
93
?>

Also available in: Unified diff