diff --git a/src/Common/Service/MetaData.php b/src/Common/Service/MetaData.php index 8a9093d9..f6b14a5f 100644 --- a/src/Common/Service/MetaData.php +++ b/src/Common/Service/MetaData.php @@ -89,7 +89,7 @@ public function getTitles(): Service\MetaData\Collection array_filter([ $this->title, $this->isTitleAppendAppName() - ? Config::get('APP_NAME') + ? $this->getAppName() : null, ]) ) diff --git a/views/errors/html/401.php b/views/errors/html/401.php index 9c3cc989..63d549ab 100644 --- a/views/errors/html/401.php +++ b/views/errors/html/401.php @@ -5,7 +5,7 @@ -->
-
- © =\Nails\Config::get('APP_NAME') . ' ' . date('Y')?>
+ © =Factory::service('MetaData')->getAppName() . ' ' . date('Y')?>
=lang('nails_footer_powered_by', [\Nails\Config::get('NAILS_PACKAGE_URL'), \Nails\Config::get('NAILS_PACKAGE_NAME')])?>
diff --git a/views/structure/header/nails-default.php b/views/structure/header/nails-default.php
index 2cacb39f..923379f9 100644
--- a/views/structure/header/nails-default.php
+++ b/views/structure/header/nails-default.php
@@ -17,7 +17,7 @@