mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Minor adjustments
This commit is contained in:
parent
4b835bfe71
commit
8394afce74
4 changed files with 32 additions and 35 deletions
|
|
@ -121,14 +121,15 @@ class DisplayHandler extends Handler
|
|||
|
||||
// results directly output
|
||||
print $output;
|
||||
|
||||
// debugOutput output
|
||||
$this->content_size = strlen($output);
|
||||
print $this->getDebugInfo();
|
||||
|
||||
// call a trigger after display
|
||||
ModuleHandler::triggerCall('display', 'after', $output);
|
||||
|
||||
// debugOutput output
|
||||
$this->content_size = strlen($output);
|
||||
print $this->getDebugInfo($output);
|
||||
|
||||
flushSlowlog();
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +138,7 @@ class DisplayHandler extends Handler
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDebugInfo()
|
||||
public function getDebugInfo(&$output)
|
||||
{
|
||||
// Check if debugging is enabled for this request.
|
||||
if (!config('debug.enabled'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue