mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-24 16:51:47 -04:00
Remove bad !
This commit is contained in:
@@ -146,7 +146,7 @@ if ($user) {
|
||||
// Only include config if logged in or auth turned off. The login view doesn't require any config.
|
||||
global $zm_config;
|
||||
foreach ($zm_config as $name=>$c) {
|
||||
if (!empty($c['Private'])) {
|
||||
if (empty($c['Private'])) {
|
||||
if (empty($c['Value'])) {
|
||||
echo 'const '. $name . ' = \'\';'.PHP_EOL;
|
||||
} else if (isset($c['Type']) and $c['Type'] == 'integer' and $c['Value'] != '') {
|
||||
|
||||
Reference in New Issue
Block a user