< Basic Variables | Variables | Edit Variables >
The following actions are available only if you set in your configuration file. They can be used for debugging and should not be set in a production environment.
$EnableDiag = 1;
?action=ruleset gives you, apply the Cookbook:MarkupRulesetDebugging recipe: it can also show the pattern and the replacement strings.
$EnableIMSCaching$EnableStopWatch<!--function:StopWatchHTML 1--> in the wiki template.
$EnableStopWatch = 0; # No timings (the default). No HTML will be generated.
$EnableStopWatch = 1; # Wall-clock timings only.
$EnableStopWatch = 2; # Wall-clock and CPU usage timings. Won't work on Windows.
See also:
Is it possible for someone with admin priviledges to always have access to debugging tools, without letting everyone else access them?
You can easily & automatically allow debugging for anyone with admin priviledges (meanwhile leaving it off for everyone else) by including this line in config.php - just be sure that 1) $EnableDiag is either null or set to 0, and 2) to include it near the end of config.php, AFTER declaring your passwords, and after any AuthUser or other priviledge settings:
if (CondAuth($pagename, 'admin')) $EnableDiag = 1; # allows admin to always call phpinfo, etc
< Basic Variables | Variables | Edit Variables >
This page may have a more recent version on pmwiki.org: PmWiki:DebugVariables, and a talk page: PmWiki:DebugVariables-Talk.
| | |
© 2006 - 2026 by Active Image - All Rights Reserved | | | Site Map | | | | |
The information contained within ActiveImage.ca is for educational purposes. It is here to help you made informed decisions about your fitness and health. It is not medical advice and is not intended to replace the advice or attention of health-care professionals. Please consult your doctor before beginning or making changes to your diet, exercise program, for diagnosis and treatment of illness and injuries, and for advice regarding medications and supplements.
In no way will Active Image or any persons associated with Active Image be held responsible for any injuries or problems that may occur due to the use of this website or the advice contained within. Active Image will not be held responsible for the conduct of any companies and websites recommended within this site.