mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
fixes #1591 specific processing for piwigo-openstreetmap and piwigo-videojs
This commit is contained in:
parent
61a4259b41
commit
4acfca116b
4 changed files with 20 additions and 0 deletions
|
@ -97,6 +97,11 @@ foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
|
|||
$setting_url = $settings_url_for_plugin_deprec[$plugin_id];
|
||||
} else if ($fs_plugin['hasSettings']) { // new version
|
||||
$setting_url = "admin.php?page=plugin-".$plugin_id;
|
||||
|
||||
if (preg_match('/^piwigo-(videojs|openstreetmap)$/', $plugin_id))
|
||||
{
|
||||
$setting_url = str_replace('piwigo-', 'piwigo_', $setting_url);
|
||||
}
|
||||
}
|
||||
|
||||
$tpl_plugin = array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue