Commit df85e560 authored by lphuberdeau's avatar lphuberdeau

[ENH] Adding a comment block to indicate how to map URLs

parent 29f4d37e
......@@ -14,6 +14,18 @@
*/
function tiki_route($path)
{
/*
// If you are converting to Tiki and want to preserve some URLs, map the urls and remove the comment block
$urlMapping = array(
'wiki/old-page-name' => 'PageName',
'corporate/Privacy+Policy.pdf' => 'dl123',
);
if (isset($urlMapping[$path])) {
$path = $urlMapping[$path];
}
*/
$simple = array(
'articles' => 'tiki-view_articles.php',
'blogs' => 'tiki-list_blogs.php',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment