Skip to content
Snippets Groups Projects
Commit 44c48635 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

pridano nacitani adresare lib a modulu WardenClient.pm pomoci promenne __FILE__

parent 7a0555f3
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
use strict;
use warnings;
use File::Basename;
#------------------------------------------------------------------------------
# Warden 2.2 Client, Receiver, Example
#
......@@ -18,11 +20,10 @@ use warnings;
#------------------------------------------------------------------------------
# This code should developer add into his/her application.
# Path to warden-client directory
my $warden_path = '/opt/warden-client/';
# Inclusion of warden-client receiving functionality
require $warden_path . '/lib/WardenClient.pm';
# Load Warden client library and use main module
my $bin = File::Basename::dirname(__FILE__);
use lib "$bin/../lib";
use WardenClient;
# Definition of requested event type. This attributes is also set on server
# and must not change.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment