Skip to content

Instantly share code, notes, and snippets.

View bayurepo's full-sized avatar

Bayu Anggara Saputra bayurepo

View GitHub Profile
@bayurepo
bayurepo / MY_Router.php
Created January 20, 2016 06:06 — forked from devyfriend/MY_Router.php
Codeigniter DB Router for Modular
<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
/* load the MX_Router class */
require APPPATH."third_party/MX/Router.php";
class MY_Router extends MX_Router {
function _set_routing()
{
// Are query strings enabled in the config file? Normally CI doesn't utilize query strings