8
Yes, Protector preload. Including 4 files and making one query.
I repacked the firephp-debugger (addons firebug and firephp have to be installed with Firefox) with Smarty debug enabled. I hope I packed it well - get it
HERE.
For those who want to log variables on its own, just include this in your file:
le="color: #000000"><?php require_once XOOPS_ROOT_PATH.'/class/logger/firephp/FirePHPCore/FirePHP.class.php'; $fb = FirePHP::getInstance(true); $fb->registerErrorHandler(false); $fb->log($whatsmyvalue);
If you want some deep insight to your XOOPS just copy this to the file where you want to get some information about:
le="color: #000000"><?php function getDefinedVars($varList, $excludeList) { $temp1 = array_values(array_diff(array_keys($varList), $excludeList)); $temp2 = array(); while (list($key, $value) = each($temp1)) { global $$value; $temp2[$value] = $$value; } return $temp2; } require_once XOOPS_ROOT_PATH.'/class/logger/firephp/FirePHPCore/FirePHP.class.php'; $fireme = FirePHP::getInstance(true); $excludeList = array('GLOBALS', 'excludeList', 'output', 'xoopsTpl'); $varList = get_defined_vars(); $fireme->log(getDefinedVars($varList, $excludeList));
This should be too much of info!