aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/write
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-04-13 20:50:41 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-04-13 20:50:41 +0200
commite8a20f730651d07deff33dc559acfdca32cce271 (patch)
tree75bef8a5511e258a82db5cd54f60fcaae3ebca2b /web/api/write
parent34b33fce5a2be8b3ab6dde7f4894da86eed70a0e (diff)
More work on adapting /opt and tests
Diffstat (limited to 'web/api/write')
-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
4 files changed, 4 insertions, 4 deletions
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);