Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 480 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 480 Bytes

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