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
|
<?php
|
||||||
global $config;
|
global $config;
|
||||||
foreach ($config as $name=>$c) {
|
foreach ($config as $name=>$c) {
|
||||||
echo $name . ' = \''.$c['Value'].'\''.PHP_EOL;
|
if (!$c['Private'])
|
||||||
|
echo $name . ' = \''.$c['Value'].'\''.PHP_EOL;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue