Don't make private config entries available to js land.

This commit is contained in:
Isaac Connor 2022-01-22 12:31:36 -05:00
parent ce2d605b3d
commit 3a0b88c013
1 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ stateStrings[STATE_TAPE] = "<?php echo translate('Record') ?>";
<?php
global $config;
foreach ($config as $name=>$c) {
if (!$c['Private'])
echo $name . ' = \''.$c['Value'].'\''.PHP_EOL;
}
?>