V1.0.8 Use the pl-files directory to include config file master V1.0.8
authorPeter Stimpel <pstimpel@gmail.com>
Wed, 10 Oct 2018 18:58:32 +0000 (20:58 +0200)
committerPeter Stimpel <pstimpel@gmail.com>
Wed, 10 Oct 2018 18:58:32 +0000 (20:58 +0200)
CHANGES
logcheck.pl

diff --git a/CHANGES b/CHANGES
index 989d2dd..0ee7709 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
 logcheck.pl
 -------------------
+V 1.0.8
+- use pl-files location for including config
+
+
 V 1.0.7
 - get working directory before including config
 
index d7cc919..1d145fe 100644 (file)
@@ -21,7 +21,7 @@ use File::Basename;
 use File::Spec;
 $dirname = File::Spec->rel2abs(dirname(__FILE__));
 
-require 'logcheck.conf';
+require $dirname.'/logcheck.conf';
 $mode="run";
 
 if (defined($logcheckpath)) {
@@ -48,7 +48,7 @@ $file_logfilelist = $dirname."/".$file_logfilelist;
 sub head() {
        print "\n";
        print "-----------------------------\n";
-       print "This is logcheck.pl V1.0.7\n";
+       print "This is logcheck.pl V1.0.8\n";
        print "https://peters-webcorner.de\n";
        print "project hosted on github\n";
        print "https://github.com/pstimpel/logcheck\n\n";