You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4b3577e
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -129,6 +167,7 @@ private function handlePost(): void
129
167
{
130
168
try
131
169
{
170
+
$this->disableExecutionTimeLimit();
132
171
$action = (string) ($_POST['action'] ?? '');
133
172
switch ($action)
134
173
{
@@ -234,6 +273,24 @@ private function handlePost(): void
234
273
}
235
274
}
236
275
276
+
privatefunctiondisableExecutionTimeLimit(): void
277
+
{
278
+
if ((int) ini_get('max_execution_time') === 0)
279
+
{
280
+
return;
281
+
}
282
+
283
+
if (function_exists('set_time_limit') && @set_time_limit(0))
284
+
{
285
+
return;
286
+
}
287
+
@ini_set('max_execution_time', '0');
288
+
if ((int) ini_get('max_execution_time') !== 0)
289
+
{
290
+
thrownewRuntimeException('QuickInstall could not disable the PHP execution time limit for this action. Allow set_time_limit or set max_execution_time=0 for the sandbox UI.');
0 commit comments