HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/pmw24/driver_settlement/applicationold/config/routes.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|	example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	https://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are three reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router which controller/method to use if those
| provided in the URL cannot be matched to a valid route.
|
|	$route['translate_uri_dashes'] = FALSE;
|
| This is not exactly a route, but allows you to automatically route
| controller and method names that contain dashes. '-' isn't a valid
| class or method name character, so it requires translation.
| When you set this option to TRUE, it will replace ALL dashes in the
| controller and method URI segments.
|
| Examples:	my-controller/index	-> my_controller/index
|		my-controller/my-method	-> my_controller/my_method
*/
$route['default_controller'] = 'index';
$route['activate-account/(:any)']		=	'index/activate_account/$1';

$route['order_details/(:any)']                        =   'order_details/orderdetails/$1';
$route['admin/driver/delete_document']                =   'admin/driver/delete_document';
$route['admin/driver/add_new_driver']                 =   'admin/driver/add_new_driver';
$route['admin/driver/driver_master_list']             =   'admin/driver/driver_master_list';
$route['admin/driver/(:num)']                         =   'admin/driver/edit_new_driver/$1';
$route['recover_password_user/recover_account']       =   'recover_password_user/recover_account';
$route['recover_password_user/(:any)']                =   'recover_password_user/forgotpassword/$1';
$route['cms/(:any)']                				  =   'cms/index/$1';


//$route['index'] = 'admin/index';


$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
//$route['(:any)']='admin/index';

/********************* SREELA ***********************************/
$route['admin/user-permission'] 							= 'admin/UserPermission/index';
$route['admin/driver-settlement'] 							= 'admin/DriverSettlement/index';
$route['admin/driver-settlement/list'] 						= 'admin/DriverSettlement/ListDriverSettlement';
$route['admin/driver-refund-settlement'] 					= 'admin/DriverRefundSettlement/index';
$route['admin/bond-report'] 								= 'admin/BondReport/index';
$route['admin/accident-report'] 							= 'admin/AccidentReport/index';
$route['admin/docket-report'] 								= 'admin/DocketReport/index';
$route['admin/forgotpassword'] 								= 'admin/index/forget_password';
$route['admin/reset-password/(:any)']     					= 'admin/index/reset_newpswd/$1';
$route['admin/inspection-details/(:num)']     				= 'admin/settings/InspectionDetails/$1';