Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar over 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

reload.php
11 11
 * @platform        WebsiteBaker 2.8.x
12 12
 * @requirements    PHP 5.2.2 and higher
13 13
 * @version         $Id$
14
 * @filesource		$HeadURL:  $
15
 * @lastmodified    $Date:  $
14
 * @filesource		$HeadURL$
15
 * @lastmodified    $Date$
16 16
 *
17 17
 */
18 18

  
......
52 52
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
53 53

  
54 54
// create Admin object with admin header
55
$admin = new admin('Addons', '', true, false);
55
$admin = new admin('Addons', '', false, false);
56 56
$js_back = ADMIN_URL . '/addons/index.php?advanced';
57 57

  
58 58
if (!$admin->checkFTAN())
59 59
{
60
	$admin->print_header();
60 61
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$js_back);
61
	exit();
62 62
}
63 63

  
64 64
/**
......
109 109

  
110 110
			} else {
111 111
				// provide error message and stop
112
				$admin->print_header();
112 113
				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
113 114
			}
114 115
			break;
......
131 132
				
132 133
			} else {
133 134
				// provide error message and stop
135
				$admin->print_header();
134 136
				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
135 137
			}
136 138
			break;
......
138 140
}
139 141

  
140 142
// output success message
143
$admin->print_header();
141 144
$admin->print_success(implode($msg, '<br />'), $js_back);
142 145
$admin->print_footer();
143 146

  
144 147

  

Also available in: Unified diff