Chang not used code
This commit is contained in:
parent
b2851ddfdf
commit
727309d2d4
@ -61,12 +61,12 @@ $formfile = new FormFile($db);
|
|||||||
|
|
||||||
print_fiche_titre($langs->trans("Backup"),'','setup');
|
print_fiche_titre($langs->trans("Backup"),'','setup');
|
||||||
|
|
||||||
/**
|
// TODO Define ExecTimeLimit and MemoryLimit
|
||||||
* Increase time limit for script execution and initializes some variables
|
if (!empty($ExecTimeLimit)) {
|
||||||
*/
|
@set_time_limit($ExecTimeLimit);
|
||||||
@set_time_limit($cfg['ExecTimeLimit']);
|
}
|
||||||
if (!empty($cfg['MemoryLimit'])) {
|
if (!empty($MemoryLimit)) {
|
||||||
@ini_set('memory_limit', $cfg['MemoryLimit']);
|
@ini_set('memory_limit', $MemoryLimit);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start with empty buffer
|
// Start with empty buffer
|
||||||
|
|||||||
@ -60,7 +60,6 @@ class AntiVir
|
|||||||
|
|
||||||
$return = 0;
|
$return = 0;
|
||||||
|
|
||||||
@set_time_limit($cfg['ExecTimeLimit']);
|
|
||||||
$outputfile=$conf->admin->dir_temp.'/dol_avscan_file.out.'.session_id();
|
$outputfile=$conf->admin->dir_temp.'/dol_avscan_file.out.'.session_id();
|
||||||
|
|
||||||
$fullcommand=$this->getCliCommand($file);
|
$fullcommand=$this->getCliCommand($file);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user