mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
More fixes to improve PHP 8.0 compatibility
This commit is contained in:
parent
8c161bc28d
commit
417e4d15b0
9 changed files with 41 additions and 30 deletions
|
|
@ -647,6 +647,10 @@ class widgetController extends widget
|
|||
|
||||
// Debug widget creation time information added to the results
|
||||
$elapsed_time = microtime(true) - $start;
|
||||
if (!isset($GLOBALS['__widget_excute_elapsed__']))
|
||||
{
|
||||
$GLOBALS['__widget_excute_elapsed__'] = 0;
|
||||
}
|
||||
$GLOBALS['__widget_excute_elapsed__'] += $elapsed_time;
|
||||
Rhymix\Framework\Debug::addWidget(array(
|
||||
'name' => $widget,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue