1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-12-03 14:33:35 -03:00
parent d15a0ec71d
commit 10e272376d
2 changed files with 13 additions and 3 deletions

View file

@ -198,9 +198,9 @@ $isActive = $secondsAgo < 10;
if (!empty($codeToExec->log)) {
echo json_encode([
'error' => file_exists($logFile),
'error' => !file_exists($logFile),
'msg' => '',
'content' => @file_get_contents($logFile),
'logFile' => $logFile,
'time' =>$time,
'modified' =>$modified,
'secondsAgo' =>$secondsAgo,