<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$route['default_controller'] = 'engine';
$route['copyright'] = 'pages/copyright';
$route['privacy'] = 'pages/privacy';

$route['announce'] = 'tracker/announce';
$route['torrents/last_torrents'] = 'engine/last_torrents';
$route['torrents/explore'] = 'engine/explore';
$route['top/(:any)'] ='engine/get_top_torrents/$1';
$route['torrents_popular'] = 'engine/popular_torrents';
$route['torrents/exclus'] = 'engine/exclus';
$route['torrents/(:any)'] = 'engine/categories/$1';
$route['torrents/(:any)/(:any)'] = 'engine/sub_categories/$2';
$route['torrent/(:any)/(:any)/(:num)-(:any)'] = 'engine/get_torrent/$3';
$route['profile/(:num)-(:any)'] = 'engine/profile/$1';
$route['search_builder'] = 'engine/search_builder';
$route['user/messages'] = 'user_messaging';
$route['user/message_auto/(:num)'] = 'user_messaging/read_message_auto/$1';
$route['wiki/(:any)/(:any)/(:num)-(:any)'] = 'wiki/page/$3';
$route['wiki/(:any)/(:num)-(:any)'] = 'wiki/page/$2';

$route['ipn/payments'] = 'payment_api/notifications_pp';
$route['odin'] = 'engine/proxy';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
