mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
BUGFIX: Use increase_time_limit_to() and increase_memory_limit_to() for better safe-mode operation.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80243 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
836ab09fc8
commit
5fd8cfd81d
@ -37,8 +37,8 @@ class FilesystemPublisher extends StaticPublisher {
|
||||
function publishPages($urls) {
|
||||
// This can be quite memory hungry and time-consuming
|
||||
// @todo - Make a more memory efficient publisher
|
||||
set_time_limit(0);
|
||||
ini_set("memory_limit" , -1);
|
||||
increase_time_limit_to();
|
||||
increase_memory_limit_to();
|
||||
|
||||
//$base = Director::absoluteURL($this->destFolder);
|
||||
//$base = preg_replace('/\/[^\/]+\/\.\./','',$base) . '/';
|
||||
|
Loading…
x
Reference in New Issue
Block a user