]> i-scream Git - www.i-scream.org.git/blobdiff - cgi-bin/cvslog.cgi
Urg - now the image is generated using SSI the things that include the
[www.i-scream.org.git] / cgi-bin / cvslog.cgi
index 004161e93000eefdfdb2bc10a2a0dfaad5e25883..01ee2bfabf732c52705f42dcc9a11882550699b2 100755 (executable)
@@ -291,8 +291,13 @@ exit 0;
 # Print the contents of a file containing html
 sub print_html {
     my ($filename) = @_;
+    my($virtual) = '<!--#include virtual="/cgi-bin/logo.cgi" -->';
+    my(@virtualresponse) = `/web/i-scream/nwww.cgi-bin/logo.cgi`;
     open(FILE, $filename);
     while(<FILE>) {
+        if(/$virtual/) {
+            s/$virtual/$virtualresponse[@virtualresponse-1]/;
+        }
         print;
     }
     close FILE;