From 3a0b88c013709a1336b8e86c0d3ab83f06ed6a5f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 22 Jan 2022 12:31:36 -0500 Subject: [PATCH] Don't make private config entries available to js land. --- web/skins/classic/js/skin.js.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/js/skin.js.php b/web/skins/classic/js/skin.js.php index 6cde755b6..336c0a352 100644 --- a/web/skins/classic/js/skin.js.php +++ b/web/skins/classic/js/skin.js.php @@ -109,6 +109,7 @@ stateStrings[STATE_TAPE] = ""; $c) { - echo $name . ' = \''.$c['Value'].'\''.PHP_EOL; + if (!$c['Private']) + echo $name . ' = \''.$c['Value'].'\''.PHP_EOL; } ?>