Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/blue-sky.co.id/public_html/application/config/ |
Upload File : |
<?php if ( ! defined('BASEPATH')) 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: | | http://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_contro ller/my_method */ $route['default_controller'] = 'welcome'; $route['category/(.+)'] = 'category/get/$1'; $route['category_list/(.+)'] = 'category_list/get/$1'; $route['product/form_product/(.+)'] = 'product/form_product/$1'; $route['product/(.+)'] = 'product/get/$1'; $route['brand/(.+)'] = 'brand/get/$1'; $route['blog/all'] = 'blog/all'; $route['blog/tag/(.+)'] = 'blog/tag/$1'; $route['blog/archive/(.+)'] = 'blog/archive/$1'; $route['blog/(.+)'] = 'blog/get/$1'; $route['form/ajax_get_shipping_district'] = 'form/ajax_get_shipping_district'; $route['form/ajax_get_shipping_subdistrict'] = 'form/ajax_get_shipping_subdistrict'; $route['business/(.+)'] = 'business/get/$1'; // $route['form/ajax_form_test_print'] = 'form/ajax_form_test_print'; // $route['form/ajax_form_print_kain'] = 'form/ajax_form_print_kain'; // $route['form/ajax_form_sample_kain'] = 'form/ajax_form_sample_kain'; // // $route['form/ajax_get_shipping_method'] = 'form/ajax_get_shipping_method'; // $route['form/(.+)'] = 'form/get/$1'; $route['event/(.+)'] = 'event/get/$1'; $route['blogs/(.+)'] = 'blogs/get/$1'; $route['pilihan-kamu'] = 'page/get/pilihan-kamu'; $route['page/(.+)'] = 'page/get/$1'; $route['hotel/([^/]+)/dining'] = 'hotel/dining/$1'; $route['hotel/([^/]+)/fitness-spa'] = 'hotel/fitness_spa/$1'; $route['hotel/([^/]+)/meeting'] = 'hotel/meeting/$1'; $route['hotel/([^/]+)/wedding'] = 'hotel/wedding/$1'; $route['hotel/dining'] = 'hotel/dining'; $route['hotel/fitness-spa'] = 'hotel/fitness_spa'; $route['hotel/meeting'] = 'hotel/meeting'; $route['hotel/wedding'] = 'hotel/wedding'; $route['hotel/(.+)'] = 'hotel/get/$1'; $route['career/submit/(.+)'] = 'career/submit/$1'; $route['career/(.+)'] = 'career/get/$1'; //THESE ARE FOR MULTI LANGUAGE SITES WITH URI LANGUAGE PREFIX /* $route['(\w{2})'] = $route['default_controller']; $route['(\w{2})/category/(.+)'] = 'category/get/$2'; $route['(\w{2})/category_list/(.+)'] = 'category_list/get/$2'; $route['(\w{2})/product/(.+)'] = 'product/get/$2'; $route['(\w{2})/brand/(.+)'] = 'brand/get/$2'; $route['(\w{2})/blog'] = 'blog/all'; $route['(\w{2})/blog/(.+)'] = 'blog/get/$2'; $route['(\w{2})/page/(.+)'] = 'page/get/$2'; $route['(\w{2})/(.*)'] = '$2'; */ $route['404_override'] = 'pagenotfound'; //$route['translate_uri_dashes'] = FALSE;