mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
23 lines
713 B
PHP
23 lines
713 B
PHP
|
<?
|
||
|
if (!check_perms('site_debug')) { error(403); }
|
||
|
|
||
|
if (!isset($_GET['case']) || !$Analysis = $Cache->get_value('analysis_'.$_GET['case'])) { error(404); }
|
||
|
|
||
|
show_header('Case Analysis');
|
||
|
?>
|
||
|
<h2>Case Analysis (<a href="<?=display_str($Analysis['url'])?>"><?=$_GET['case']?></a>)</h2>
|
||
|
<table id="debug_report">
|
||
|
<tr>
|
||
|
<td align="left"><pre><?=display_str($Analysis['message'])?></pre></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<?
|
||
|
$Debug->flag_table($Analysis['flags']);
|
||
|
$Debug->include_table($Analysis['includes']);
|
||
|
$Debug->error_table($Analysis['errors']);
|
||
|
$Debug->query_table($Analysis['queries']);
|
||
|
$Debug->cache_table($Analysis['cache']);
|
||
|
$Debug->class_table();
|
||
|
$Debug->extension_table();
|
||
|
$Debug->constant_table();
|
||
|
show_footer(); ?>
|