| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hocthongminh.net-bk/public_html/site/config/ |
Upload File : |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$route['default_controller'] = "home"; //sieutrinho
$route['san-pham.html'] = 'sanpham/index';
$route['san-pham'] = 'sanpham/index';
$route['cua-hang'] = 'sanpham/index';
$route['cua-hang/(:any)'] = 'sanpham/index/$1';
$route['danh-muc/(:any)'] = 'sanpham/category/$1';
$route['san-pham/(:any)'] = 'sanpham/detail/$1';
$route['gio-hang'] = 'sanpham/viewcart';
$route['thanh-toan'] = 'sanpham/thanhtoan';
$route['dat-hang'] = 'sanpham/sendcart';
$route['dat-hang-thanh-cong'] = 'sanpham/thanhcong';
$route['xac-nhan/(:any)'] = 'sanpham/confirm/$1';
$route['tin-tuc'] = 'news/index';
$route['tin-tuc/(:any)'] = 'news/index/$1';
$route['chuyen-muc/(:any)'] = 'news/category/$1';
$route['chi-tiet/(:any)'] = 'news/detail/$1';
$route['tin-chi-tiet/(:any)'] = 'news/detail/$1';
$route['dich-vu'] = 'news/dichvu';
$route['dich-vu/(:any)'] = 'news/dichvu/$1';
$route['lien-he'] = 'lienhe/index';
$route['lien-he-thanh-cong'] = 'lienhe/thanhcong';
$route['thue-may-photo'] = 'thuemay/index';
$route['thue-may-photo/(:any)'] = 'thuemay/index/$1';
$route['goi-thong-tin-thanh-cong'] = 'thuemay/thanhcong/$1';
$route['khuyen-mai'] = 'khuyenmai/index';
//$route['dang-ky'] = 'dangky/index';
//chinh sach
$route['gioi-thieu'] = 'chinhsach/index/$1';
$route['chinh-sach-bao-hanh'] = 'chinhsach/baohanh/$1';
$route['huong-dan-mua-hang'] = 'chinhsach/dathang/$1';
$route['chinh-sach-doi-tra'] = 'chinhsach/doitra/$1';
$route['chinh-sach-van-chuyen'] = 'chinhsach/vanchuyen/$1';
$route['thong-tin-thanh-toan'] = 'chinhsach/thanhtoan/$1';
$route['hop-tac-kinh-doanh'] = 'chinhsach/hoptac/$1';
$route['chinh-sach-bao-mat'] = 'chinhsach/baomat/$1';
$route['cam-ket-chat-luong'] = 'chinhsach/camket/$1';
$route['dieu-khoan-su-dung'] = 'chinhsach/dieukhoan/$1';
$route['error-404'] = 'error/index';
$route['404_override'] = 'error/index';
$route['404_override'] = 'error.html';
if ($handle = opendir(APPPATH."components")) {
/* This is the correct way to loop over the directory. */
while (false !== ($component = readdir($handle))) {
if ($component != "." && $component != "..") {
if(file_exists(APPPATH."components/".$component.'/config/routes.php')){
require APPPATH."components/".$component."/config/routes.php";
}
}
}
closedir($handle);
}