Static generation of web pages. Based on GSoC work, and still needs
[ccan] / web / logo.html
index 7239556c764d05c1f877183dd9fed5b672a4f26a..61c8f7e717d8b0eb14d3e4d6a6c970da51ff35f6 100644 (file)
@@ -1,3 +1,8 @@
+<?php
+session_start();
+// Pages created in subdirs need ../ appended.
+$url_prefix = getenv("URLPREFIX");
+?>
 <html>
 <head>
 <title>ccan</title>
 <table align="center" width="100%" bgcolor="FFFFFF">
  <tr>
   <th>
-       <img src="ccan.jpg" width="250" height="80">
+       <img src="<?=$url_prefix?>ccan.jpg" width="250" height="80">
   </th>
   <th>
        <h1>Comprehensive C Archieve Network <h1>
   </th>
  </tr>
-</table>
\ No newline at end of file
+</table>