mirror of
https://github.com/php/web-php.git
synced 2026-04-26 16:38:04 +02:00
25 lines
438 B
C++
25 lines
438 B
C++
<?php // -*- C++ -*-
|
|
|
|
require_once 'prepend.inc';
|
|
require_once 'manual-lookup.inc';
|
|
|
|
if (!$function && $pattern) $function = $pattern;
|
|
|
|
if (get_magic_quotes_gpc()) $function = stripslashes($function);
|
|
|
|
$function = strtolower($function);
|
|
|
|
if (empty($lang)) $lang = default_language();
|
|
|
|
$file = find_manual_page($lang, $function);
|
|
|
|
if ($file) {
|
|
header("Location: $file");
|
|
exit;
|
|
}
|
|
|
|
$notfound = $function;
|
|
include 'quickref.php';
|
|
|
|
?>
|