Last active
December 30, 2015 18:39
-
-
Save kingkarki/7869242 to your computer and use it in GitHub Desktop.
Revisions
-
kingkarki renamed this gist
Dec 9, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
kingkarki created this gist
Dec 9, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); if (!function_exists('debug')) { function debug($data) { $dub = debug_backtrace(); echo '<pre><span style="color:blue">'; echo $dub[0]['file'] . "<br/>On Line Number "; echo $dub[0]['line'] . "<br/></span>"; print_r($data); echo '</pre>'; } } ?>