aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorDavid Aspinall2001-05-08 16:26:43 +0000
committerDavid Aspinall2001-05-08 16:26:43 +0000
commit7edc8449d28acb0524299cbff58a09ef3dae07a1 (patch)
treef19d72f40f25dbd6d94e863a2c34d67d4767e492 /html
parent6284f4b093e82e9e3fd8df1dd41ad6a752761271 (diff)
Repair link via htmlshow.php
Diffstat (limited to 'html')
-rw-r--r--html/functions.php34
1 files changed, 2 insertions, 2 deletions
diff --git a/html/functions.php3 b/html/functions.php3
index 465d4668..90b94f3e 100644
--- a/html/functions.php3
+++ b/html/functions.php3
@@ -203,7 +203,7 @@ function markup_plain_text($filename) {
}
/* Hack an html file to be shown with our style sheet
- and hack relative links to go via htmlshow.html.
+ and hack relative links to go via htmlshow.php.
This isn't particularly robust, but seems to work for
the output of texi2html.
*/
@@ -240,7 +240,7 @@ function hack_html($filename,$title="") {
if ($urlbits["host"]=="") {
/* Assume a relative link, let's hack it. */
/* Use same title */
- $newurl = "htmlshow.html?title=" . urlencode($title);
+ $newurl = "htmlshow.php?title=" . urlencode($title);
if ($urlbits["path"]=="") {
/* A fragment in same file */
$newurl = $newurl . "&file="