From e3de6146ec48e6224b3aee4c22e372f20b869ad6 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Tue, 17 Oct 2023 20:13:44 -0400 Subject: [PATCH] - WIP on picea's asset. --- meta/definitions/software.php | 6 +++--- view/lean-console/base/layout.phtml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/definitions/software.php b/meta/definitions/software.php index d954ed1..74e5343 100644 --- a/meta/definitions/software.php +++ b/meta/definitions/software.php @@ -7,7 +7,7 @@ $path = dirname(__DIR__, 2); return [ 'lean.console' => [ 'picea' => [ - 'context' => "Lean\\Console\\View", + 'context' => Lean\Console\View::class, 'view' => [ [ @@ -31,14 +31,14 @@ return [ 'tell' => [ 'json' => [ [ - 'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/meta/i18n", + 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "meta", "i18n", "" ]), 'order' => 99, ], ] ], 'routes' => [ - 'Lean\\Console\\Controller' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/src/Controller/", + 'Lean\\Console\\Controller' => implode(DIRECTORY_SEPARATOR, [ $path, "src", "Controller", "" ]), ], ], diff --git a/view/lean-console/base/layout.phtml b/view/lean-console/base/layout.phtml index 8630a1a..68bb98b 100644 --- a/view/lean-console/base/layout.phtml +++ b/view/lean-console/base/layout.phtml @@ -13,8 +13,9 @@ {{ title() }} + +