Don't make private config entries available to js land.
This commit is contained in:
parent
ce2d605b3d
commit
3a0b88c013
|
@ -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;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue