aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-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
-rwxr-xr-xweb/api/read/comments2
-rwxr-xr-xweb/api/read/snmp2
-rwxr-xr-xweb/api/read/switches-management2
-rwxr-xr-xweb/api/write/comment-add2
-rwxr-xr-xweb/api/write/comment-change2
-rwxr-xr-xweb/api/write/switch-add2
-rwxr-xr-xweb/api/write/switch-update2
13 files changed, 13 insertions, 13 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;
diff --git a/web/api/read/comments b/web/api/read/comments
index 4adfb2b..eb3b45a 100755
--- a/web/api/read/comments
+++ b/web/api/read/comments
@@ -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/read/snmp b/web/api/read/snmp
index f69ca62..711de65 100755
--- a/web/api/read/snmp
+++ b/web/api/read/snmp
@@ -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;
diff --git a/web/api/read/switches-management b/web/api/read/switches-management
index 4461a90..94ab5f5 100755
--- a/web/api/read/switches-management
+++ b/web/api/read/switches-management
@@ -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;
diff --git a/web/api/write/comment-add b/web/api/write/comment-add
index bcea6dc..8d4899c 100755
--- a/web/api/write/comment-add
+++ b/web/api/write/comment-add
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# vim:ts=8:sw=8
-use lib '../../../../include';
+use lib '/opt/nms/include';
use utf8;
use nms::web qw($dbh db_safe_quote get_input finalize_output);
use strict;
diff --git a/web/api/write/comment-change b/web/api/write/comment-change
index 0bdabc0..91b9824 100755
--- a/web/api/write/comment-change
+++ b/web/api/write/comment-change
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# vim:ts=8:sw=8
-use lib '../../../../include';
+use lib '/opt/nms/include';
use utf8;
use nms;
use nms::web qw($dbh db_safe_quote get_input finalize_output);
diff --git a/web/api/write/switch-add b/web/api/write/switch-add
index 0051111..3950b10 100755
--- a/web/api/write/switch-add
+++ b/web/api/write/switch-add
@@ -3,7 +3,7 @@
#use CGI qw(fatalsToBrowser);
use DBI;
-use lib '../../../../include';
+use lib '/opt/nms/include';
use nms;
use nms::web qw(%get_params %json finalize_output get_input $dbh);
use nms::util qw(guess_placement);
diff --git a/web/api/write/switch-update b/web/api/write/switch-update
index 14c8773..a463390 100755
--- a/web/api/write/switch-update
+++ b/web/api/write/switch-update
@@ -3,7 +3,7 @@
#use CGI qw(fatalsToBrowser);
use DBI;
-use lib '../../../../include';
+use lib '/opt/nms/include';
use nms;
use nms::web qw(%get_params %json finalize_output get_input $dbh);
use nms::util qw(guess_placement);