Make config entries const

This commit is contained in:
Isaac Connor 2022-01-22 12:33:48 -05:00
parent 47aa1d1913
commit 90f75dae93
1 changed files with 1 additions and 1 deletions

View File

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