aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/public
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/public')
-rwxr-xr-xweb/api/public/dhcp2
-rwxr-xr-xweb/api/public/dhcp-summary2
-rwxr-xr-xweb/api/public/location2
-rwxr-xr-xweb/api/public/ping2
-rwxr-xr-xweb/api/public/switch-state2
-rwxr-xr-xweb/api/public/switches2
6 files changed, 6 insertions, 6 deletions
diff --git a/web/api/public/dhcp b/web/api/public/dhcp
index 7b048d1..d998c59 100755
--- a/web/api/public/dhcp
+++ b/web/api/public/dhcp
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# vim:ts=8:sw=8
-use lib '../../../../include';
+use lib '/opt/nms/include';
use nms::web qw (%json finalize_output);
use strict;
use warnings;
diff --git a/web/api/public/dhcp-summary b/web/api/public/dhcp-summary
index a0e5609..73460e7 100755
--- a/web/api/public/dhcp-summary
+++ b/web/api/public/dhcp-summary
@@ -1,5 +1,5 @@
#! /usr/bin/perl
-use lib '../../../../include';
+use lib '/opt/nms/include';
use strict;
use warnings;
use nms::web;
diff --git a/web/api/public/location b/web/api/public/location
index b940007..70b6ffd 100755
--- a/web/api/public/location
+++ b/web/api/public/location
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# vim:ts=8:sw=8
-use lib '../../../../include';
+use lib '/opt/nms/include';
use nms::web;
use strict;
use warnings;
diff --git a/web/api/public/ping b/web/api/public/ping
index 811708d..27a8933 100755
--- a/web/api/public/ping
+++ b/web/api/public/ping
@@ -1,5 +1,5 @@
#! /usr/bin/perl
-use lib '../../../../include';
+use lib '/opt/nms/include';
use strict;
use warnings;
use nms::web;
diff --git a/web/api/public/switch-state b/web/api/public/switch-state
index a6caea9..5cc7e73 100755
--- a/web/api/public/switch-state
+++ b/web/api/public/switch-state
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# vim:ts=8:sw=8
-use lib '../../../../include';
+use lib '/opt/nms/include';
use nms::web qw (%json finalize_output);
use strict;
use warnings;
diff --git a/web/api/public/switches b/web/api/public/switches
index 890b7d7..1322ba6 100755
--- a/web/api/public/switches
+++ b/web/api/public/switches
@@ -3,7 +3,7 @@
use CGI qw(fatalsToBrowser);
use DBI;
-use lib '../../../../include';
+use lib '/opt/nms/include';
use nms;
use nms::web;
use strict;