mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-06 13:25:46 +01:00
fixed preset path
This commit is contained in:
@@ -1177,7 +1177,7 @@ class AdminPlugin extends Plugin
|
|||||||
|
|
||||||
public function getPresets()
|
public function getPresets()
|
||||||
{
|
{
|
||||||
$filename = $this->grav['locator']->findResource('plugin://admin-whitebox/presets.yaml', false);
|
$filename = $this->grav['locator']->findResource('plugin://admin/presets.yaml', false);
|
||||||
|
|
||||||
$file = CompiledYamlFile::instance($filename);
|
$file = CompiledYamlFile::instance($filename);
|
||||||
$presets = (array)$file->content();
|
$presets = (array)$file->content();
|
||||||
|
|||||||
Reference in New Issue
Block a user