mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
Show memory usage in debug panel
This commit is contained in:
parent
08f8e0ccd4
commit
9b714acb55
3 changed files with 3 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ class DisplayHandler extends Handler
|
|||
$output = substr($output, 0, $body_end_position) . "\n$panel_script\n" . substr($output, $body_end_position);
|
||||
break;
|
||||
case 'JSON':
|
||||
unset($_SESSION['_rx_debug_previous']);
|
||||
if (preg_match('/^(.+)\}$/', $output, $matches))
|
||||
{
|
||||
$output = $matches[1] . ',"_rx_debug":' . json_encode($data) . '}';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue