diff --git a/site/plugins/admin/app/Controllers/PluginsController.php b/site/plugins/admin/app/Controllers/PluginsController.php index d1b90c0f..cdb7c5e2 100644 --- a/site/plugins/admin/app/Controllers/PluginsController.php +++ b/site/plugins/admin/app/Controllers/PluginsController.php @@ -92,7 +92,7 @@ class PluginsController extends Controller $id = $request->getQueryParams()['id']; // Set plugin custom manifest content - $custom_plugin_manifest_file = PATH['config']['site'] . '/plugins/' . $id . '/plugin.yaml'; + $custom_plugin_manifest_file = PATH['plugins'] . '/' . $id . '/plugin.yaml'; // Get plugin custom manifest content $custom_plugin_manifest_file_content = Filesystem::read($custom_plugin_manifest_file); diff --git a/site/plugins/admin/app/Controllers/ThemesController.php b/site/plugins/admin/app/Controllers/ThemesController.php index 0f1aacbc..c533b9bd 100644 --- a/site/plugins/admin/app/Controllers/ThemesController.php +++ b/site/plugins/admin/app/Controllers/ThemesController.php @@ -92,7 +92,7 @@ class ThemesController extends Controller $id = $request->getQueryParams()['id']; // Set theme custom manifest content - $custom_theme_manifest_file = PATH['config']['site'] . '/themes/' . $id . '/theme.yaml'; + $custom_theme_manifest_file = PATH['themes'] . '/' . $id . '/theme.yaml'; // Get theme custom manifest content $custom_theme_manifest_file_content = Filesystem::read($custom_theme_manifest_file);