Skip to content

Commit b6bd6ca

Browse files
authored
Merge pull request #251 from micgro42/patch-1
disable php time limit on pdf generation
2 parents 8814f69 + bd97718 commit b6bd6ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ public function convert(Doku_Event $event) {
7474

7575
// hard work only when no cache available or needed for debugging
7676
if(!$this->getConf('usecache') || $this->getExportConfig('isDebug') || !$cache->useCache($depends)) {
77+
// generating the pdf may take a long time for larger wikis / namespaces with many pages
78+
set_time_limit(0);
79+
7780
$this->generatePDF($cache->cache, $title);
7881
}
7982

0 commit comments

Comments
 (0)