Merged in bugfix/PMCORE-1323 (pull request #7347)

PMCORE-1323 Remove the possibility of change the memory_limit

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-06-11 16:12:19 +00:00
committed by Julio Cesar Laura Avendaño
19 changed files with 5 additions and 62 deletions

View File

@@ -960,9 +960,8 @@ function PMFSendMessage(
$delIndex = 0,
$config = []
) {
ini_set ( "pcre.backtrack_limit", 1000000 );
ini_set ( 'memory_limit', '-1' );
@set_time_limit ( 100000 );
ini_set("pcre.backtrack_limit", 1000000);
@set_time_limit(100000);
global $oPMScript;