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/app/application/config/routes_10_11_2025.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';
//------------------------------------------------For Customer---------------------------------------------//
$route['customer/car/set_active_inactive_car/(:any)'] = 'customer/car/set_active_inactive_car/$1';
//----------------------------------------------------END--------------------------------------------------//
$route['about-us'] = 'aboutus';
$route['signup/create-user'] = 'signup/create_user';
$route['signup/activate-account/(:any)'] = 'signup/activate_account/$1';
$route['login/check-email'] = 'login/check_email_existence';
$route['login/recover-password/(:any)'] = 'login/recover_password/$1';
$route['login/recover-change-password'] = 'login/recover_change_password';
$route['profile/profile-detail'] = 'profile/profile_details';
$route['profile/set-profile'] = 'profile/set_profile';
$route['profile/switch-role'] = 'profile/switch_role';
$route['profile/update-profile'] = 'profile/update_profile';
$route['profile/change-password'] = 'profile/change_password';
$route['profile/update-password'] = 'profile/update_password';
$route['profile/set-available-day'] = 'profile/set_available_day';
$route['space/host-space'] = 'space/save_space';
$route['space/space-list'] = 'space/space_list';
$route['space/space-list/(:num)'] = 'space/space_list/$1';
$route['space/edit-space/(:num)'] = 'space/edit_space/$1';
$route['space/update-space'] = 'space/update_space';
$route['space/view-space/(:num)'] = 'space/view_space/$1';
$route['space/all-space-list'] = 'space/all_space_list';
$route['admin/settings/recover'] = 'admin/settings/changepassword';
$route['admin/settings/profile'] = 'admin/settings/changeprofile';
$route['admin/cms/content'] = 'admin/cms/add';
$route['admin/cms/contenta'] = 'admin/cms/add_content';
$route['admin/cms/details/(:any)'] = 'admin/cms/edit/$1';
$route['admin/cms/del'] = 'admin/cms/delete_content';
$route['admin/banner/content'] = 'admin/banner/add';
$route['admin/banner/contenta'] = 'admin/banner/add_content';
$route['admin/banner/details/(:any)'] = 'admin/banner/edit/$1';
$route['admin/banner/del'] = 'admin/banner/delete_content';
$route['admin/category/content'] = 'admin/category/add';
$route['admin/category/contenta'] = 'admin/category/add_content';
$route['admin/category/details/(:any)'] = 'admin/category/edit/$1';
$route['admin/category/del'] = 'admin/category/delete_content';
$route['admin/usersetting/content'] = 'admin/usersetting/add';
$route['admin/usersetting/contenta'] = 'admin/usersetting/add_content';
$route['admin/usersetting/details/(:any)'] = 'admin/usersetting/edit/$1';
$route['admin/usersetting/del'] = 'admin/usersetting/delete_content';
$route['admin/usersetting/add_slot/(:any)'] = 'admin/usersetting/slots/$1';
$route['admin/job/content'] = 'admin/job/add';
$route['admin/job/contenta'] = 'admin/job/add_content';
$route['admin/job/details/(:any)'] = 'admin/job/edit/$1';
$route['admin/job/del'] = 'admin/job/delete_content';
$route['admin/city/content'] = 'admin/city/add';
$route['admin/city/contenta'] = 'admin/city/add_content';
$route['admin/city/details/(:any)'] = 'admin/city/edit/$1';
$route['admin/city/del'] = 'admin/city/delete_content';
$route['admin/client/content'] = 'admin/client/add';
$route['admin/client/contenta'] = 'admin/client/add_content';
$route['admin/client/details/(:any)'] = 'admin/client/edit/$1';
$route['admin/client/del'] = 'admin/client/delete_content';
$route['admin/jobhistory/details/(:any)'] = 'admin/jobhistory/edit/$1';
$route['admin/jobhistory/contenta'] = 'admin/jobhistory/add_content';

$route['admin/role/content'] = 'admin/role/add';
$route['admin/role/contenta'] = 'admin/role/add_content';
$route['admin/role/details/(:any)'] = 'admin/role/edit/$1';

$route['admin/service/content'] = 'admin/service/add';
$route['admin/service/contenta'] = 'admin/service/add_content';
$route['admin/service/details/(:any)'] = 'admin/service/edit/$1';

$route['admin/task/content'] = 'admin/task/add';
$route['admin/task/contenta'] = 'admin/task/add_content';
$route['admin/task/details/(:any)'] = 'admin/task/edit/$1';

$route['admin/car/content'] = 'admin/car/add';
$route['admin/car/contenta'] = 'admin/car/add_content';
$route['admin/car/details/(:any)'] = 'admin/car/edit/$1';
$route['admin/car/get_customerdetails'] = 'admin/car/get_customerdetails';

$route['admin/roaster/content'] = 'admin/roaster/add';
$route['admin/roaster/contenta'] = 'admin/roaster/add_content';
$route['admin/roaster/details/(:any)'] = 'admin/roaster/edit/$1';

$route['admin/question/content'] = 'admin/question/add';
$route['admin/question/contenta'] = 'admin/question/add_content';
$route['admin/question/details/(:any)'] = 'admin/question/edit/$1';

$route['admin/inspection/details/(:any)'] = 'admin/inspection/edit/$1';

$route['forgot-password'] = 'index/forgot_password';
$route['recover-password/(:any)']       =   'customer/recover_password/forgotpassword/$1';

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