1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Temporarily disable limits

Real-world usage is bumping up against default limits. This disables them until a proper fix can be implemented.
This commit is contained in:
J. King 2018-01-24 23:42:00 -05:00
parent c7c5f48066
commit 689d1c585c

View file

@ -10,6 +10,8 @@ const NS_BASE = __NAMESPACE__."\\";
require_once BASE."vendor".DIRECTORY_SEPARATOR."autoload.php"; require_once BASE."vendor".DIRECTORY_SEPARATOR."autoload.php";
ignore_user_abort(true); ignore_user_abort(true);
ini_set("memory_limit", "-1");
ini_set("max_execution_time", "0");
if (\PHP_SAPI=="cli") { if (\PHP_SAPI=="cli") {