Cart-Lab Blog

X-Cart & E-commerce related news, resources and tips. Postings by: B00MER of Cart-Lab.com


Monday, June 19, 2006

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!

Labels: , ,

Blinkbits
co.mments
Delicious
digg
Furl it!
NewsVine
Reddit
Spurl
TailRank
DZone
Google Bookmarks
taggly
Windows Live Favorites
addtoany
technorati



0 Comments:

Post a Comment

<< Home