Debug Variables
Editing PmWiki.DebugVariables
Paragraphs: for a new paragraph, use a blank line; |
Line break: \\, [[<<]], or (:nl:) |
-> to indent text, -< hanging text |
Join line: \ |
Lists: * for bulleted, # for numbered, :term:definition for definition lists | |
Emphasis:
''italics''
'''bold'''
'''''bold italics'''''
@@ | |
References: [[another page]], [[http://example.com/]], [[another page | link text]], [[#anchor]], [[#anchor | link text]] | |
Groups: [[Group/Page]] displays Page, [[Group.Page]] displays Group.Page, [[Group(.Page)]] displays Group, [[Group/]] links Group homepage | |
Separators: !!, !!! for headings, ---- for horizontal line |
Prevent formatting: [=...=] |
Other:
[+big+]
[++bigger++]
[-small-]
[--smaller--]
'^superscript^'
'_subscript_'
{+inserted+}
{- |
Preformatted: [@...@] or >>pre<<...>><< |
Preview PmWiki.DebugVariables
Page is unsaved
- $EnableIMSCaching
- A variable which, when set equal to 1, recognizes the "If-Modified-Since" header coming from browsers and allows browsers to use locally cached pages. Disabled by default to help the administrator customize its page without needing permanent reloading.
- $EnableStopWatch
- This activates an internal stopwatch that shows how long it takes to render a page. (If you have a wiki that composes a HTML page from multiple pages, such as a normal layout with a sidebar, you'll get separate timings for each subpage and for the total page.)
- The timings can be displayed by adding
<!--function:StopWatchHTML 1-->
in the wiki template. - Valid values are:
$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 Stopwatch for more details.
See also:
- scripts/refcount.php is useful for debugging
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
wh0cd27102 <a href=http://buypropecia2017.com/>generic propecia</a>
End of preview -- remember to save
Top
http://toprolxl.cricket/#3938 toprol xl,