1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-13 16:44:36 +02:00

Flextype 0.9.7

This commit is contained in:
Awilum
2020-03-03 11:44:48 +03:00
parent 01fbbf3ab9
commit 0c4d61e47b
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);