Skip to content

PhiloNL/CodeIgniter-Route-Debugging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

CodeIgniter-Route-Debugging

###Installation Clone file to application/core/MY_Router.php

Open application/config/config.php and change the log treshold:

$config['log_threshold'] = 2;

###Log

All routes will be logged inside application/logs and will look like:

DEBUG --> Client sent : product/laptop
DEBUG --> Route found : product/(:any)  --> shop/view_product/$1
DEBUG --> Redirecting to : product/laptop  --> shop/view_product/laptop

About

CodeIgniter route debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages