Skip to content

Commit 64f0277

Browse files
authored
Merge pull request #61 from catalyst/increase-time-limit
Increase php time limit for library export/import
2 parents 0148599 + 6ae3657 commit 64f0277

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

export_libraries.php

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929

3030
admin_externalpage_setup('h5plibraries');
3131

32+
\core_php_time_limit::raise();
33+
3234
$COURSE = $SITE;
3335

3436
$interface = mod_hvp\framework::instance('interface');

library_list.php

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
$uploadform = new \mod_hvp\upload_libraries_form();
4141
if ($formdata = $uploadform->get_data()) {
4242
// Handle submitted valid form.
43+
\core_php_time_limit::raise();
4344
$h5pstorage = \mod_hvp\framework::instance('storage');
4445
$h5pstorage->savePackage(null, null, true);
4546
}

0 commit comments

Comments
 (0)