From 6de460152cecad8321fbc0d4810a0c2867677610 Mon Sep 17 00:00:00 2001 From: xxl4 Date: Fri, 12 Jul 2024 15:52:36 +0800 Subject: [PATCH] fix apps --- packages/Nicelizhi/Apps/src/Config/system.php | 9 +++++++++ .../Nicelizhi/Apps/src/Providers/AppsServiceProvider.php | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 packages/Nicelizhi/Apps/src/Config/system.php diff --git a/packages/Nicelizhi/Apps/src/Config/system.php b/packages/Nicelizhi/Apps/src/Config/system.php new file mode 100644 index 000000000..15d5a236e --- /dev/null +++ b/packages/Nicelizhi/Apps/src/Config/system.php @@ -0,0 +1,9 @@ + 'apps', + 'name' => 'admin::app.configuration.index.general.title', + 'info' => 'admin::app.configuration.index.general.info', + 'sort' => 1, + ] +]; \ No newline at end of file diff --git a/packages/Nicelizhi/Apps/src/Providers/AppsServiceProvider.php b/packages/Nicelizhi/Apps/src/Providers/AppsServiceProvider.php index 84984b3d8..7be0b8c02 100644 --- a/packages/Nicelizhi/Apps/src/Providers/AppsServiceProvider.php +++ b/packages/Nicelizhi/Apps/src/Providers/AppsServiceProvider.php @@ -46,6 +46,11 @@ public function registeConfig() { $this->mergeConfigFrom( __DIR__.'/../Config/apps.php', 'apps' ); + + $this->mergeConfigFrom( + __DIR__.'/../Config/system.php', 'core' + ); + } public function regsiteCommands()