mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Some changes.
This commit is contained in:
parent
20c16068ec
commit
d6cc8415dc
30 changed files with 359 additions and 106 deletions
|
|
@ -37,10 +37,6 @@ if(strpos(" ".strtoupper(php_uname("s")), " WIN") !== false){
|
|||
|
||||
$daylight = (int) date("I");
|
||||
|
||||
if($daylight === 0){
|
||||
$offset -= 3600;
|
||||
}
|
||||
|
||||
date_default_timezone_set(timezone_name_from_abbr("", $offset, $daylight));
|
||||
|
||||
gc_enable();
|
||||
|
|
@ -60,7 +56,7 @@ ini_set("memory_limit", "128M"); //Default
|
|||
define("LOG", true);
|
||||
define("START_TIME", microtime(true));
|
||||
define("MAJOR_VERSION", "Alpha_1.3.11");
|
||||
define("CODENAME", "甘いビートルート");
|
||||
define("CODENAME", "kotyara :3");
|
||||
define("CURRENT_MINECRAFT_VERSION", "v0.8.1 alpha");
|
||||
define("CURRENT_API_VERSION", 11);
|
||||
define("CURRENT_PHP_VERSION", "5.5");
|
||||
|
|
@ -69,4 +65,4 @@ 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"))));
|
||||
}else{ //Unknown :(
|
||||
define("GIT_COMMIT", str_repeat("00", 20));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue