aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/Application.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-24 21:57:51 +0200
committerThomas Lange <code@nerdmind.de>2021-06-24 21:57:51 +0200
commited933af3c30e168c2ec88d6fc7f3242a31219d70 (patch)
treeb754f694d7d950feaa1f469c722b12dd8cf75c66 /core/namespace/Application.php
parentd69d7e82b8bbb567668c935ace848c7dcf750b08 (diff)
downloadblog-ed933af3c30e168c2ec88d6fc7f3242a31219d70.tar.gz
blog-ed933af3c30e168c2ec88d6fc7f3242a31219d70.tar.xz
blog-ed933af3c30e168c2ec88d6fc7f3242a31219d70.zip
Return NULL instead of config string if unset
Diffstat (limited to 'core/namespace/Application.php')
-rw-r--r--core/namespace/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/namespace/Application.php b/core/namespace/Application.php
index 829f758..0d6d30e 100644
--- a/core/namespace/Application.php
+++ b/core/namespace/Application.php
@@ -25,7 +25,7 @@ class Application {
# Get configuration value
#===============================================================================
public static function get($config) {
- return self::$configuration[$config] ?? "{$config}";
+ return self::$configuration[$config] ?? NULL;
}
#===============================================================================