mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
using native MTRandom if php8.2+ is detected
This commit is contained in:
parent
648784b4ff
commit
70e4355d61
5 changed files with 81 additions and 55 deletions
|
|
@ -52,7 +52,7 @@ define("MAJOR_VERSION", "2.0.0dev");
|
|||
define("CODENAME", "Breadfence"); //i'm not very creative - kotyaralih
|
||||
define("CURRENT_MINECRAFT_VERSION", "v0.9.5 alpha");
|
||||
define("CURRENT_API_VERSION", '13.1');
|
||||
define("CURRENT_PHP_VERSION", "5.5");
|
||||
define("CURRENT_PHP_VERSION", "8.0");
|
||||
$gitsha1 = false;
|
||||
if(file_exists(FILE_PATH . ".git/refs/heads/master")){ //Found Git information!
|
||||
define("GIT_COMMIT", strtolower(trim(file_get_contents(FILE_PATH . ".git/refs/heads/master"))));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue