From 0c4d61e47b4ba7078ff195bec7670ca97d3e96b2 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 3 Mar 2020 11:44:48 +0300 Subject: [PATCH] Flextype 0.9.7 --- site/plugins/admin/app/Controllers/PluginsController.php | 2 +- site/plugins/admin/app/Controllers/ThemesController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);