%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User : ndkhermy ( 1200)
PHP Version : 8.5.12
Disable Function : NONE
Directory :  /home1/ndkhermy/public_html/website_1ec2d7c2/apps/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home1/ndkhermy/public_html/website_1ec2d7c2/apps/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['404_override'] = 'content/error';
$route['default_controller'] = 'content';
$route['about-us.htm'] = 'content/about';

$route['sitemap.htm'] = 'content/sitemap';
$route['track-your-shipment.htm'] = 'content/trackshipment';
$route['shipping.htm'] = 'checkout/index';
$route['shipping-step2.htm'] = 'checkout/shipping_detail';
$route['shipping-step3.htm'] = 'checkout/confirm';
$route['faqs.html'] = 'content/faq';


$route['career.htm'] = 'content/career';
$route['contact-us.htm'] = 'content/contact';
$route['gallery.html'] = 'content/gallery';

$route['privacy-term-conditions'] = 'content/common/29';
$route['cancellation-and-refund-policy.html'] = 'content/common/22';
$route['blogs.html'] = 'blogs/index';

$route['category/([a-zA-Z0-9-_]+)/(:num)'] = 'search/product/$1/$2';
$route['blog/([a-zA-Z0-9-_]+)/(:num)'] = 'blogs/blog_single/$1/$2';
$route['blog/category/([a-zA-Z0-9-_]+)/(:num)'] = 'blogs/category/$1/$2';

$route['login'] = 'user/login';
$route['forgotpassword'] = 'user/forgotpassword';

$route['services.htm'] = 'packages/index';
$route['products.html'] = 'packages/index';
$route['register'] = 'user/create_account';



$route['myaccount'] = 'user/myaccount';

#$route['product-detail/(:any)/(:num)'] = 'packages/package_detail/$1/$2';
$route['(.*).htm'] = 'packages/index/$1';


$route['myaccount'] = 'user/myaccount';
$route['404.html'] = 'content/error';
#$route['products'] = 'search/product';
$route['products/(:num)'] = 'search/product/$1';
$route['product-detail/(:num)'] = 'search/product_detail/$1';





$route['admin/login?msg=login'] = 'admin/admin/login';
$route['admin/login'] = 'admin/admin/login';
$route['admin/dashboard'] = 'admin/admin/index';
$route['admin/logout'] = 'admin/admin/logout';
$route['admin/manage-admin'] = 'admin/admin/view_all';
$route['admin/add-admin'] = 'admin/admin/add_admin';
$route['admin/edit-admin/(:num)'] = 'admin/admin/edit_admin/$1';

$route['admin/permission/(:num)'] = 'admin/admin/permission/$1';
$route['admin/system-setting'] = 'admin/admin/systemsetting';



$route['admin/manage-users'] = 'admin/user/index';
$route['admin/add-user'] = 'admin/user/add_user';
$route['admin/edit-user/(:num)'] = 'admin/user/edit_user/$1';
$route['admin/view-user/(:num)'] = 'admin/user/view_user/$1';

$route['admin/blogcategories'] = 'admin/blogcategory/index';
$route['admin/blogcategories/add'] = 'admin/blogcategory/add';
$route['admin/blogcategories/edit/(:num)'] = 'admin/blogcategory/edit/$1';

$route['admin/othercategories'] = 'admin/othercategory/index';
$route['admin/othercategories/add'] = 'admin/othercategory/add';
$route['admin/othercategories/edit/(:num)'] = 'admin/othercategory/edit/$1';




$route['translate_uri_dashes'] = FALSE;

VaKeR 2022