mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1591 specific processing for piwigo-openstreetmap and piwigo-videojs
This commit is contained in:
@@ -104,6 +104,12 @@ $change_theme_url.= 'change_theme=1';
|
||||
if (isset($_GET['page']) and preg_match('/^plugin-([^-]*)(?:-(.*))?$/', $_GET['page'], $matches))
|
||||
{
|
||||
$_GET['page'] = 'plugin';
|
||||
|
||||
if (preg_match('/^piwigo_(videojs|openstreetmap)$/', $matches[1]))
|
||||
{
|
||||
$matches[1] = str_replace('_', '-', $matches[1]);
|
||||
}
|
||||
|
||||
$_GET['section'] = $matches[1].'/admin.php';
|
||||
if (isset($matches[2]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user