Changeset 735 in t29-www


Ignore:
Timestamp:
Mar 5, 2015, 11:19:08 PM (4 years ago)
Author:
sven
Message:

Fixes (404 kann ich hier nicht lokal testen, wegen blöden
Redirect-Loops)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/404.php

    r734 r735  
    6262
    6363// compile a search query from the path
    64 $query = preg_replace('%/\?=\+%', ' ', $wanted_page);
     64$query = preg_replace('%[/\?=\+]%', ' ', $wanted_page);
    6565$query = preg_replace('%\s+%', ' ', $query);
    6666
     
    7575
    7676<?php /* TODO: URL by message (topnav-search-...) and host rewrite */ ?>
    77 <form method="/suche.php">
     77<form action="/suche.php">
    7878<input type="text" value="<?php echo $query; ?>" name="q">
    7979<input type="submit" value="Suchen">
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License