From: Jan Michel Date: Tue, 6 Aug 2013 16:48:58 +0000 (+0200) Subject: most hardcoded stuff changed X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=7d885bd4b49f0873ca0b3a841d3f1b9c93afbf8a;p=mvdsensorcontrol.git most hardcoded stuff changed --- diff --git a/Environment.pm b/Environment.pm index 6f780d5..f343aa2 100644 --- a/Environment.pm +++ b/Environment.pm @@ -14,7 +14,8 @@ use constant TEMPDIR => JTAGROOTPATH."temp/"; use constant SETUPDIR => JTAGROOTPATH."setup/"; use constant CONFDIR => JTAGROOTPATH."config/"; use constant SPECDIR => JTAGROOTPATH."specs/"; -use constant PICTUREPATH => TEMPDIR."prevImgs/"; #path for images on webserver +use constant PICTUREPATH => TEMPDIR."prevImgs/"; #path for images on webserver (absolute path) +use constant PICTUREPATHREL => "/jtag/temp/prevImgs/"; #path for images on webserver for browser use constant DUMPPATH => "/tmp/MAPS_PREV/"; #path for small hld dumps use constant SETUPFILE => SETUPDIR."testsetup.xml"; diff --git a/tools/testgui.pl b/tools/testgui.pl index 01cc606..94605a2 100755 --- a/tools/testgui.pl +++ b/tools/testgui.pl @@ -23,7 +23,7 @@ use Environment; our $setupDir = SETUPDIR; our $confDir = CONFDIR; our $specDir = SPECDIR; -my $picPath = PICTUREPATH; +my $picPath = PICTUREPATHREL; my $setupFile = SETUPFILE; # the file that tells me what fields should be printed in the quick edit area