[BugFix] Plugins ExtendedProfile and OverwriteThemeBackground - admin is identical to system path names.

This commit is contained in:
Diogo Cordeiro
2019-09-12 23:18:50 +01:00
committed by Diogo Peralta Cordeiro
parent 8e9db78258
commit acd64ba54a
4 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ defined('GNUSOCIAL') || die();
*/
class OverwriteThemeBackgroundPlugin extends Plugin
{
const PLUGIN_VERSION = '0.1.0';
const PLUGIN_VERSION = '0.1.1';
/**
* Route urls
@@ -46,7 +46,7 @@ class OverwriteThemeBackgroundPlugin extends Plugin
{
$m->connect('plugins/OverwriteThemeBackground/css/my_custom_theme_bg',
['action' => 'OverwriteThemeBackgroundCSS']);
$m->connect('admin/overwritethemebackground',
$m->connect('panel/overwritethemebackground',
['action' => 'overwritethemebackgroundAdminPanel']);
return true;
}