diff --git a/system/admin/views/config-custom.html.php b/system/admin/views/config-custom.html.php index 293d34d..8bf8512 100644 --- a/system/admin/views/config-custom.html.php +++ b/system/admin/views/config-custom.html.php @@ -23,26 +23,10 @@ "hallo", - ); + $array = array(); if (file_exists($config_file)) { $array = parse_ini_file($config_file, true); } - function valueMaker($value) - { - if (is_string($value)) - return htmlspecialchars($value); - - if ($value === true) - return "true"; - if ($value === false) - return "false"; - - if ($value == false) - return "0"; - return (string)$value; - } $configList = json_decode(file_get_contents('content/data/configList.json', true)); foreach ($array as $key => $value) { if (!in_array($key, $configList)) { diff --git a/system/admin/views/config-metatags.html.php b/system/admin/views/config-metatags.html.php index 1cbe8e8..5b14976 100644 --- a/system/admin/views/config-metatags.html.php +++ b/system/admin/views/config-metatags.html.php @@ -1,4 +1,4 @@ -