projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a7a02
)
Added some set_time_limit()s in case of slow servers timing out.
author
thepurpleblob
<thepurpleblob>
Wed, 23 May 2007 14:07:12 +0000
(14:07 +0000)
committer
thepurpleblob
<thepurpleblob>
Wed, 23 May 2007 14:07:12 +0000
(14:07 +0000)
question/format.php
patch
|
blob
|
history
diff --git
a/question/format.php
b/question/format.php
index be585858c3b185a085d88c5ddbd0d40261189e6e..b0c465fc468c804d28b6f782d9f0a9b2e6eba0da 100644
(file)
--- a/
question/format.php
+++ b/
question/format.php
@@
-127,6
+127,9
@@
class qformat_default {
*/
function importprocess() {
+ // reset the timer in case file upload was slow
+ @set_time_limit();
+
// STAGE 1: Parse the file
notify( get_string('parsingquestions','quiz') );
@@
-156,6
+159,9
@@
class qformat_default {
foreach ($questions as $question) { // Process and store each question
+ // reset the php timeout
+ @set_time_limit();
+
// check for category modifiers
if ($question->qtype=='category') {
if ($this->catfromfile) {