PHP 8.1 support (#1209)
This commit is contained in:
parent
5569369b15
commit
0100d0bd63
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ class CI_Output {
|
||||||
if ($this->parse_exec_vars === TRUE)
|
if ($this->parse_exec_vars === TRUE)
|
||||||
{
|
{
|
||||||
$memory = round(memory_get_usage() / 1024 / 1024, 2).'MB';
|
$memory = round(memory_get_usage() / 1024 / 1024, 2).'MB';
|
||||||
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);
|
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), (string)$output);
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue