]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
most hardcoded stuff changed
authorJan Michel <j.michel@gsi.de>
Tue, 6 Aug 2013 16:48:58 +0000 (18:48 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 6 Aug 2013 16:48:58 +0000 (18:48 +0200)
Environment.pm
tools/testgui.pl

index 6f780d587979b33f91d8f3e2c8d934ef4706a005..f343aa282bfa0f5c19430d8c4b044eb6d09ed57f 100644 (file)
@@ -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";
index 01cc60620d26f308bb77a5c44fbaeeb4e04a4835..94605a294efee1a725aff6dbc011290a1c014ddf 100755 (executable)
@@ -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