func_print_(d,f,r) X-Cart 4.1.x
Apparently X-Cart decided NOT to include, func.debug.php on every page. Why I don't know, 4 function definitions won't cut down on speed or memory optimization much. I suppose it could cause security concerns but I highly doubt it. If your security conscious, remove my addition or comment it out immediately after debugging!
Since I'm a huge fan of using func_print_r(); when developing I decided to make my own include entry in config.php after the debug settings.
$debug_mode = 3;
# Cart-Lab.com Globalize func_print_r again!
if($debug_mode != 0) include $xcart_dir."/include/func/func.debug.php";
Cart-Lab.com: X-cart Resources, and More!
0 Comments:
Post a Comment
<< Home