1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/manual-lookup.php
Colin Viebrock a9af981410 Add require_once 'prepend.inc' back in again.
That's more than a dozen files ... :(
2001-02-06 22:19:02 +00:00

18 lines
359 B
C++

<?php // -*- C++ -*-
require_once 'prepend.inc';
require_once 'manual-lookup.inc';
$function = strtolower($function);
if (!isset($lang)) $lang = $MIRRORS[$MYSITE][6];
$file = find_manual_page($lang, $function);
if ($file) {
header("Location: $file");
exit;
}
header("Location: search.php?pattern=".urlencode($function)."&show=nosource");
exit;