Make config entries const
This commit is contained in:
parent
47aa1d1913
commit
90f75dae93
|
@ -110,6 +110,6 @@ stateStrings[STATE_TAPE] = "<?php echo translate('Record') ?>";
|
|||
global $config;
|
||||
foreach ($config as $name=>$c) {
|
||||
if (!$c['Private'])
|
||||
echo $name . ' = \''.$c['Value'].'\''.PHP_EOL;
|
||||
echo 'const '. $name . ' = \''.$c['Value'].'\''.PHP_EOL;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue