mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 12:00:06 +02:00
Update
This commit is contained in:
parent
55bc784982
commit
d7194b7335
1 changed files with 3 additions and 0 deletions
|
@ -4591,6 +4591,9 @@ function _session_regenerate_id(){
|
||||||
|
|
||||||
function debugMemmory($line){
|
function debugMemmory($line){
|
||||||
global $lastDebugMemory, $lastDebugMemoryLine;
|
global $lastDebugMemory, $lastDebugMemoryLine;
|
||||||
|
if(empty($global['debugMemmory'])){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$memory = memory_get_usage();
|
$memory = memory_get_usage();
|
||||||
if(!isset($lastDebugMemory)){
|
if(!isset($lastDebugMemory)){
|
||||||
$lastDebugMemory = $memory;
|
$lastDebugMemory = $memory;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue