From 7d885bd4b49f0873ca0b3a841d3f1b9c93afbf8a Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Tue, 6 Aug 2013 18:48:58 +0200 Subject: [PATCH] most hardcoded stuff changed --- Environment.pm | 3 ++- tools/testgui.pl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.43.0