Commit: 636a531aa68918de34ee4480f812e67679d0762a Author: philip <[email protected]> Thu, 15 May 2014 11:07:41 -0700 Parents: 6e1ead211415c4bce472f1c9a653379d44eedb04 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=636a531aa68918de34ee4480f812e67679d0762a 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
