fix of 592ed17 fix
since this brought the need to link to serendipity_admin.php
This commit is contained in:
parent
592ed17007
commit
d080d7e572
@ -523,11 +523,11 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
|
||||
|
||||
if ($bag->is_set('configuration')) {
|
||||
/* Only play with the plugin if there is something to play with */
|
||||
echo '<script type="text/javascript">location.href = \'' . $serendipity['baseURL'] . '?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . $inst . '\';</script>';
|
||||
echo '<script type="text/javascript">location.href = \'' . $serendipity['baseURL'] . 'serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . $inst . '\';</script>';
|
||||
die();
|
||||
} else {
|
||||
/* If no config is available, redirect to plugin overview, because we do not want that a user can install the plugin a second time via accidental browser refresh */
|
||||
echo '<script type="text/javascript">location.href = \'' . $serendipity['baseURL'] . '?serendipity[adminModule]=plugins\';</script>';
|
||||
echo '<script type="text/javascript">location.href = \'' . $serendipity['baseURL'] . 'serendipity_admin.php?serendipity[adminModule]=plugins\';</script>';
|
||||
die();
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user