Browse Source

Merge branch 'develop'

develop
Guillaume 2 years ago
parent
commit
8b7e265d1e
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Controller/ControllerTrait.php

+ 6
- 0
Controller/ControllerTrait.php View File

@@ -275,4 +275,10 @@ trait ControllerTrait
return $this->get(SiteSettingContainer::class);
}

public function setNoMemoryAndTimeLimit(): void
{
ini_set('memory_limit', '-1');
set_time_limit(0);
}

}

Loading…
Cancel
Save