Changeset 1985 for www


Ignore:
Timestamp:
Nov 16, 2007, 8:46:07 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Allow "-" in documentation filenames.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/manual.html

    r1129 r1985  
    2424<?php
    2525    $page = $_GET['page'];
    26     $page = eregi_replace("[^a-z0-9_]", "", $page);
     26    $page = eregi_replace("[^-a-z0-9_]", "", $page);
    2727    $file = $_SERVER["DOCUMENT_ROOT"]."/manual/".$page.".html";
    2828
Note: See TracChangeset for help on using the changeset viewer.