From 8e3c16a035a62ff7a053e5b07f318ca715eaab7e Mon Sep 17 00:00:00 2001 From: kotyara <62548070+kotyaralih@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:55:35 +0500 Subject: [PATCH] Update dependencies.php --- src/dependencies.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dependencies.php b/src/dependencies.php index 0da2459f..a799604e 100644 --- a/src/dependencies.php +++ b/src/dependencies.php @@ -108,10 +108,11 @@ foreach($inc as $s){ $sha1sum ^= sha1_file($s, true); } /***REM_END***/ +ini_set("opcache.mmap_base", bin2hex(Utils::getRandomBytes(8, false))); //Fix OPCache address errors define("SOURCE_SHA1SUM", bin2hex($sha1sum)); /***REM_START***/ if(!file_exists(DATA_PATH."server.properties") and arg("no-wizard", false) != true){ $installer = new Installer(); } -/***REM_END***/ \ No newline at end of file +/***REM_END***/