fix title of plugin readme
This commit is contained in:
parent
00eaa15cf2
commit
beb2c96aef
@ -40,7 +40,7 @@ class PluginController extends Controller
|
||||
return abort(404, trans('admin.plugins.operations.no-readme-notice'));
|
||||
}
|
||||
|
||||
$title = $plugin->title;
|
||||
$title = trans($plugin->title);
|
||||
$path = $plugin->getPath().'/'.$readmePath;
|
||||
$parsedown = new Parsedown();
|
||||
$content = $parsedown->text(file_get_contents($path));
|
||||
|
Loading…
Reference in New Issue
Block a user