Revision 940
Added by doc almost 16 years ago
reload.php | ||
---|---|---|
11 | 11 |
* @author Christian Sommer |
12 | 12 |
* @copyright (c) 2009 |
13 | 13 |
* @license http://www.gnu.org/copyleft/lesser.html |
14 |
* @version 0.1.0
|
|
14 |
* @version 0.1.1
|
|
15 | 15 |
* @platform Website Baker 2.7 |
16 | 16 |
* |
17 | 17 |
* Website Baker Project <http://www.websitebaker.org/> |
... | ... | |
39 | 39 |
foreach ($post_check as $index => $key) { |
40 | 40 |
if (!isset($_POST[$key])) unset($post_check[$index]); |
41 | 41 |
} |
42 |
if (count($post_check) == 0) die(header('Location: index.php')); |
|
42 |
if (count($post_check) == 0) die(header('Location: index.php?advanced'));
|
|
43 | 43 |
|
44 | 44 |
/** |
45 | 45 |
* check if user has permissions to access this file |
... | ... | |
69 | 69 |
|
70 | 70 |
// create Admin object with admin header |
71 | 71 |
$admin = new admin('Addons', '', true, false); |
72 |
$js_back = ADMIN_URL . '/addons/index.php'; |
|
72 |
$js_back = ADMIN_URL . '/addons/index.php?advanced';
|
|
73 | 73 |
|
74 | 74 |
/** |
75 | 75 |
* Reload all specified Addons |
Also available in: Unified diff
addon overview to show advanced options after redirect from reload.php