From: Mike G. v. a. <we...@ma...> - 2010-05-14 14:38:26
|
Log Message: ----------- fixed an error in which surePathToTmp file wasn't prefixed by $self-> Modified Files: -------------- pg/lib: PGalias.pm Revision Data ------------- Index: PGalias.pm =================================================================== RCS file: /webwork/cvs/system/pg/lib/PGalias.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -Llib/PGalias.pm -Llib/PGalias.pm -u -r1.2 -r1.3 --- lib/PGalias.pm +++ lib/PGalias.pm @@ -571,9 +571,9 @@ # $fileName is obtained from environment for PGeval # it gives the full path to the current problem - my $pngSourceFile = convertPath("$templateDirectory${filePath}$aux_file_path.png"); + my $pngSourceFile = $self->convertPath("$templateDirectory${filePath}$aux_file_path.png"); my $link = "gif/".$self->{uniqIDstub}."-$aux_file_path.$ext"; - my $linkPath = surePathToTmpFile($link); + my $linkPath = $self->surePathToTmpFile($link); $adr_output = "${tempURL}$link"; #warn "linkPath is $linkPath"; #warn "adr_output is $adr_output"; |