From 3522c5796bd05e5a4475484ec277f274a71c16de Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 9 May 2016 12:01:26 -0400 Subject: [PATCH] add BEGIN Back to ZoneMinder.pm --- scripts/ZoneMinder/lib/ZoneMinder.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/ZoneMinder/lib/ZoneMinder.pm b/scripts/ZoneMinder/lib/ZoneMinder.pm index 63b7c8108..6d8b3bfc8 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder.pm @@ -81,6 +81,10 @@ our @EXPORT = ( @EXPORT_OK ); our $VERSION = $ZoneMinder::Base::VERSION; +BEGIN { + ZoneMinder::Config::zmConfigLoad(); + ZoneMinder::Database::zmDbConnect(); +} 1; __END__