Move the BEGIN from ZoneMinder to ZoneMinder/Base.
parent
6e32b5d266
commit
b444c8a6b4
|
@ -81,12 +81,6 @@ our @EXPORT = ( @EXPORT_OK );
|
|||
|
||||
our $VERSION = $ZoneMinder::Base::VERSION;
|
||||
|
||||
BEGIN {
|
||||
require ZoneMinder::Config;
|
||||
require ZoneMinder::Database;
|
||||
ZoneMinder::Config::zmConfigLoad();
|
||||
ZoneMinder::Database::zmDbConnect();
|
||||
}
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
|
Loading…
Reference in New Issue