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:
parent
65b54d30d1
commit
e15fb24613
@ -76,4 +76,4 @@ $assets = [
|
||||
];
|
||||
|
||||
// Configura il limite di tempo di esecuzione del file cron.php
|
||||
$time_limit = '';
|
||||
$php_time_limit = '';
|
8
cron.php
8
cron.php
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user