Merge pull request #1385 from ZoneMinder/remove_local_zm_conf_override
Remove the code looks for zm.conf in the current dir.
This commit is contained in:
commit
1ff84cf94a
|
@ -66,12 +66,6 @@ use Carp;
|
|||
BEGIN
|
||||
{
|
||||
my $config_file = ZM_CONFIG;
|
||||
( my $local_config_file = $config_file ) =~ s|^.*/|./|;
|
||||
if ( -s $local_config_file and -r $local_config_file )
|
||||
{
|
||||
print( STDERR "Warning, overriding installed $local_config_file file with local copy\n" );
|
||||
$config_file = $local_config_file;
|
||||
}
|
||||
open( my $CONFIG, "<", $config_file )
|
||||
or croak( "Can't open config file '$config_file': $!" );
|
||||
foreach my $str ( <$CONFIG> )
|
||||
|
|
Loading…
Reference in New Issue