From: Michael Wiebusch Date: Wed, 21 Aug 2013 11:38:57 +0000 (+0200) Subject: jtageditor gets conf and spec dir now from Environment.pm X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0ca57a906377ad111312e49f64061648389db485;p=mvdsensorcontrol.git jtageditor gets conf and spec dir now from Environment.pm --- diff --git a/tools/jtageditor.pl b/tools/jtageditor.pl index 61aece8..b12bd15 100755 --- a/tools/jtageditor.pl +++ b/tools/jtageditor.pl @@ -59,7 +59,9 @@ require Common; require xmlOperations; require xmlRendering; - +use FindBin; +use lib "$FindBin::Bin/.."; +use Environment; my %cgiHash = &read_input; @@ -76,8 +78,12 @@ if ( !keys %cgiHash ) -our $confDir = '../config'; -our $specDir = '../specs'; +our $confDir = CONFDIR; +our $specDir = SPECDIR; + + + + # our $editorRefreshCommand="reloadSetTree()"; setEditorRefreshCommand("reloadSetTree()");