Skip to content

Commit b2a6b6c

Browse files
author
Daniel Neto
committed
Increase max execution time for zipDirectory function
1 parent 383763d commit b2a6b6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

objects/functions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,9 @@ function encryptPassword($password, $streamerURL)
716716

717717
function zipDirectory($destinationFile)
718718
{
719+
//increase max execution time
720+
set_time_limit(3600);
721+
719722
// Get real path for our folder
720723
$rootPath = realpath($destinationFile);
721724
if (empty($rootPath)) {

0 commit comments

Comments
 (0)