1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-03-18 12:10:17 +01:00

Miglioria minore

This commit is contained in:
valentina 2024-10-04 08:38:22 +02:00
parent 65b54d30d1
commit e15fb24613
2 changed files with 3 additions and 7 deletions

View File

@ -76,4 +76,4 @@ $assets = [
];
// Configura il limite di tempo di esecuzione del file cron.php
$time_limit = '';
$php_time_limit = '';

View File

@ -33,12 +33,8 @@ use Monolog\Logger;
use Tasks\Task;
// Rimozione delle limitazioni sull'esecuzione
if ($config['time_limit']) {
$time_limit = $config['time_limit'];
} else {
$time_limit = 86400;
}
set_time_limit($time_limit);
$php_time_limit = $config['php_time_limit'] ?? 86400;
set_time_limit($php_time_limit);
ignore_user_abort(true);
// Chiusura della richiesta alla pagina