Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp
2023-05-04 18:27:44 +02:00
committed by GitHub
parent bbe6554bb0
commit 948217da51
2 changed files with 2 additions and 3 deletions

View File

@@ -339,7 +339,6 @@ class App
set_time_limit((int)$this->config->get('system', 'ini_max_execution_time'));
}
// This has to be quite large to deal with embedded private photos
if ($this->config->get('system', 'ini_pcre_backtrack_limit') !== false) {
ini_set('pcre.backtrack_limit', (int)$this->config->get('system', 'ini_pcre_backtrack_limit'));
}