Zeile 219 | Zeile 219 |
---|
} $plugininfo = $infofunc(); $plugininfo['guid'] = isset($plugininfo['guid']) ? trim($plugininfo['guid']) : null;
|
} $plugininfo = $infofunc(); $plugininfo['guid'] = isset($plugininfo['guid']) ? trim($plugininfo['guid']) : null;
|
$plugininfo['codename'] = trim($plugininfo['codename']);
| $plugininfo['codename'] = isset($plugininfo['codename']) ? trim($plugininfo['codename']) : null;
|
if($plugininfo['codename'] != "") {
| if($plugininfo['codename'] != "") {
|
Zeile 371 | Zeile 371 |
---|
// Activates or deactivates a specific plugin if($mybb->input['action'] == "activate" || $mybb->input['action'] == "deactivate") {
|
// Activates or deactivates a specific plugin if($mybb->input['action'] == "activate" || $mybb->input['action'] == "deactivate") {
|
if(!verify_post_check($mybb->input['my_post_key']))
| if(!verify_post_check($mybb->get_input('my_post_key')))
|
{ flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=config-plugins");
| { flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=config-plugins");
|