* * Allows redirects to defined intermap locations & implements * silent 301 redirects * * Based on Ryan Varick's CustomRedirects cookbook recipe. * * To install, add the following line to your config file : include_once("$FarmD/cookbook/redirect-intermap.php"); * * For more information, please see the online documentation at * http://www.pmwiki.org/wiki/Cookbook/RedirectIntermap * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. */ $RecipeInfo['RedirectIntermap']['Version'] = '2008-02-13'; // override the built-in (:redirect:) pattern Markup('redirect', ' Redirect"; exit; } echo "Redirect to $url"; if ( @$EnableStopWatch && function_exists('StopWatchHTML') ) StopWatchHTML($pagename, 1); exit; }