Commit: 4ede47d020615f689434bc7d709fc205c1b3392a Author: philip <[email protected]> Thu, 15 May 2014 11:07:41 -0700 Parents: 67a0fcdb9fedcd57c687863a654ca3140573ce19 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=4ede47d020615f689434bc7d709fc205c1b3392a Log: Redirect AMQP pages to its github page Changed paths: M error.php Diff: diff --git a/error.php b/error.php index 14423a7..17ad736 100644 --- a/error.php +++ b/error.php @@ -265,6 +265,13 @@ if (isset($manual_page_moves[$URI])) { mirror_redirect("/manual/$match[1]/" . $manual_page_moves[$match[2]] . ".php"); } +// The AMQP manual was removed awhile back, maybe this will prevent more bug reports +// Feel free to remove me on around May 15, 2015 +if (false !== stripos($URI, 'amqp')) { + status_header(404); + mirror_redirect('https://github.com/videlalvaro/php-amqplib'); +} + // ============================================================================ // Define shortcuts for PHP files, manual pages and external redirects $uri_aliases = array ( -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
