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/change.php

10 lines
265 B
PHP

<?php
include_once __DIR__ . '/../include/prepend.inc';
$page = isset($_GET['page']) ? htmlspecialchars($_GET['page'], ENT_QUOTES, 'UTF-8') : '';
$page = strtr($page, ["\r" => "", "\n" => ""]);
// Redirect to new manual page
mirror_redirect("/manual/" . $page);