[LON-CAPA-cvs] cvs: loncom /homework imageresponse.pm

foxr lon-capa-cvs@mail.lon-capa.org
Tue, 19 Apr 2005 09:20:55 -0000


foxr		Tue Apr 19 05:20:55 2005 EDT

  Modified files:              
    /loncom/homework	imageresponse.pm 
  Log:
  Added a bit of conditional debugging.
  
  
Index: loncom/homework/imageresponse.pm
diff -u loncom/homework/imageresponse.pm:1.65 loncom/homework/imageresponse.pm:1.66
--- loncom/homework/imageresponse.pm:1.65	Thu Apr  7 02:56:21 2005
+++ loncom/homework/imageresponse.pm	Tue Apr 19 05:20:55 2005
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # image click response style
 #
-# $Id: imageresponse.pm,v 1.65 2005/04/07 06:56:21 albertel Exp $
+# $Id: imageresponse.pm,v 1.66 2005/04/19 09:20:55 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -228,6 +228,7 @@
 	}
     } else {
 	$image=&Apache::lonnet::filelocation($Apache::lonxml::pwd[-1],$image);
+	&Apache::lonxml::debug("repcopying: $image");
 	if (&Apache::lonnet::repcopy($image) ne 'ok') {
 	    $image='/home/httpd/html/adm/lonKaputt/lonlogo_broken.gif';
 	}