1
0
Fork 0
feedizer-php/htdocs/includes/routes.inc.php

12 lines
394 B
PHP
Raw Normal View History

2015-11-13 23:51:46 +01:00
<?php
// Define the routes
$routes = array(
'feed' => "/feed/(?'slug'[[:alnum:]\._-]+)/(?'contentType'page|diff)/(?'feedType'atom|rss)",
'feedInfo' => "/feed/(?'slug'[[:alnum:]\._-]+)(/info)?",
'home' => "/",
'create' => "/create",
'flatpage' => "/page/(?'slug'[[:alnum:]-\._]+)",
'announcement' => "/announcement/(?'id'[0-9]+)(/.*)?",
);