File manager - Edit - /home/u608250662/domains/rdsolution.org.in/public_html/jevica/application/config/routes.php
Back
<?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/userguide3/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'] = 'welcome'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; // $route['admin'] = 'admin/index'; // $route['admin/logout'] = 'admin/logout'; // $route['admin/dashboard'] = 'admin/dashboard'; $route['404_override'] = 'welcome/pagenotfound'; $route['sitemap\.xml'] = "welcome/sitemap"; //Admin links start $route['admin'] = 'admin/index'; $route['admin/logout'] = 'admin/logout'; $route['admin/dashboard'] = 'admin/dashboard'; $route['siteediting/setting'] = 'siteediting/setting'; $route['siteediting/enquiry'] = 'siteediting/enquiry'; $route['siteediting/counter'] = 'siteediting/counter'; //banner $route['banner/brand_listing'] = 'banner/brand_listing'; $route['banner/listing'] = 'banner/listing'; $route['banner/add'] = 'banner/add'; //supplier $route['supplier/supplier_listing'] = 'supplier/supplier_listing'; $route['supplier/listing'] = 'supplier/supplier_listing'; $route['supplier/add'] = 'supplier/add'; //courses $route['services/listing'] = 'services/listing'; $route['services/add'] = 'services/add'; //products start $route['products/listing'] = 'categories/listing'; $route['products/add'] = 'categories/add'; $route['products/edit/(:num)'] = 'categories/edit/$1'; $route['products/delete/(:num)'] = 'categories/delete/$1'; $route['categories/get_subcategory'] = 'categories/get_subcategory'; //products end //categories and sub-category start $route['category/listing'] = 'category/listing'; $route['category/add'] = 'category/add'; $route['category/edit/(:num)'] = 'category/edit/$1'; $route['category/delete/(:num)'] = 'category/delete/$1'; $route['sub_category/listing'] = 'sub_category/listing'; $route['sub_category/add'] = 'sub_category/add'; $route['sub_category/edit/(:num)'] = 'sub_category/edit/$1'; $route['sub_category/delete/(:num)'] = 'sub_category/delete/$1'; //categories and sub-category end //gallery $route['gallery/listing'] = 'gallery/listing'; $route['gallery/add'] = 'gallery/add'; //Industry $route['industry/listing'] = 'industry/listing'; $route['industry/add'] = 'industry/add'; //test_series/listing $route['test_series/listing'] = 'test/listing'; $route['test_series/add'] = 'test/add'; //faculty/listing $route['faculty/listing'] = 'faculty/listing'; $route['faculty/add'] = 'faculty/add'; //feedback/listing $route['feedback/listing'] = 'feedback/listing'; $route['feedback/add'] = 'feedback/add'; //feedback/listing $route['result/listing'] = 'result/listing'; $route['result/add'] = 'result/add'; // pages route $route['page/add'] = 'page/add'; $route['page/pagelist'] = 'page/pagelist'; // testimonials route $route['testimonials/add'] = 'testomonial/add'; $route['testimonials/listing'] = 'testomonial/listing'; $route['testimonials/edit/(:num)'] = 'testomonial/edit/$1'; $route['testimonials/delete/(:num)'] = 'testomonial/delete/$1'; // blogs route $route['admin_blogs/add'] = 'blogss/add'; $route['admin_blogs/listing'] = 'blogss/listing'; $route['email'] = 'Siteediting/email'; $route['scholarship_forms'] = 'Siteediting/scholarship_forms'; // Admin ends //Video $route['images'] = 'welcome/images'; $route['scholarship'] = 'welcome/scholarship'; //Image $route['videos'] = 'welcome/video'; //about us $route['about-us'] = 'welcome/about'; // $route['view_pdf'] = 'welcome/view_pdf'; //view pdf //founder $route['director'] = 'welcome/founder'; $route['quality-assurance'] = 'welcome/quality_assurance'; $route['innovation'] = 'welcome/innovation'; $route['dealer'] = 'welcome/dealer'; $route['categories'] = 'welcome/categories'; $route['products'] = 'welcome/product'; $route['product-details'] = 'welcome/product_details'; //who we are $route['who-we-are'] = 'welcome/who_we_are'; $route['blogs'] = 'welcome/blogs'; //faculty $route['faculty'] = 'welcome/faculty'; //contact $route['contact'] = 'welcome/contact'; //gallery $route['gallery'] = 'welcome/gallery'; //FAQ $route['faq'] = 'welcome/faq'; $route['all_category'] = 'welcome/all_category'; $route['all_sub_category'] = 'welcome/all_sub_category'; //result $route['result'] = 'welcome/result'; $route['scholarship'] = 'welcome/scholarship'; $route['classes'] = 'welcome/classes'; //test-series $route['test-series'] = 'welcome/test_series'; $route['neet'] = 'welcome/course'; $route['jee'] = 'welcome/course'; $route['classes'] = 'welcome/course'; $route['single-service'] = 'welcome/single_service'; $route['categories/delete_product_image/(:num)/(:any)'] = 'categories/delete_product_image/$1/$2'; // $route['about-web-development-institute'] = 'welcome/aboutus'; // $route['web-design-development-courses'] = 'welcome/allcourses'; // $route['gallery-web-development-institute'] = 'welcome/gallery'; // $route['apply-for-web-design-and-web-development-course']='welcome/contactus'; // $route['classroom-training'] = 'welcome/classroom'; // $route['online-training'] = 'welcome/online'; // $route['fastrack-training'] = 'welcome/fastrack'; // $route['web-design-diploma-certificate-courses']='welcome/webdesign'; // $route['web-development-diploma-certificate-courses']='welcome/webdevelopment'; // $route['digital-marketing-diploma-certificate-courses']='welcome/digitalmarketing'; // $route['web-design-and-development-trending-courses']='welcome/trandingcourses'; // //////new code // $route['graphic-design-courses']='welcome/graphic'; // $route['video-editing-courses']='welcome/video'; // $route['classroom-and-online-students-feedbacks']="welcome/feedbacks"; // $route['master-it-courses']='welcome/master'; // $route['computer-courses-for-class-10th-12th-students']='welcome/studentCourses'; // $route['all-blog-categories']='welcome/allcategories'; // $route['interview-questions']='welcome/interview'; // $route['web-design-projects']='welcome/projects/web-design'; // $route['web-design-projects/(:num)']='welcome/projects/web-design'; // $route['category/(:any)']='welcome/category/$1'; // $route['category/(:any)/(:any)']='welcome/category/$1/$2'; // $route['blog/(:any)']='welcome/blogdetail/$1'; // // $route['(:any)']='welcome/pagedetails/$1'; // // $route['(:any)']='welcome/course'; // $route['pages/(:any)'] = 'welcome/page/$1'; // $route['course/(:any)'] = 'welcome/course/$1'; // $route['(:any)/sub-course/(:any)'] = 'welcome/sub_course/$1'; // $route['test-series/(:num)'] = 'welcome/test_series/$1'; // Most specific first // $route['categories/(:any)/(:any)'] = 'categories/delete_product_image/$1/$2'; $route['category/(:any)/(:any)'] = 'welcome/category/$1/$2'; $route['category/(:any)'] = 'welcome/category/$1'; $route['sub-category/(:any)'] = 'welcome/product/$1'; $route['product/(:any)'] = 'welcome/product_details/$1'; $route['blog/(:any)'] = 'welcome/blogdetail/$1'; $route['pages/(:any)'] = 'welcome/page/$1'; $route['(:any)/(:any)'] = 'welcome/course/$1/$2'; $route['test-series/(:num)'] = 'welcome/test_series/$1'; // $route['full_blog/(:num)'] = 'welcome/full_blog/$1'; $route['category/(:any)/(:any)'] = 'welcome/sub_course/$1'; // Keep this LAST if used // $route['(:any)']='welcome/pagedetails/$1';
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings