mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Removed PHP_VERSION constant on pocketmine namespace
This commit is contained in:
parent
8455e89784
commit
6f30cd8a22
@ -77,7 +77,6 @@ namespace pocketmine {
|
|||||||
const API_VERSION = "1.3.0";
|
const API_VERSION = "1.3.0";
|
||||||
const CODENAME = "絶好(Zekkou)ケーキ(Cake)";
|
const CODENAME = "絶好(Zekkou)ケーキ(Cake)";
|
||||||
const MINECRAFT_VERSION = "v0.9.5 alpha";
|
const MINECRAFT_VERSION = "v0.9.5 alpha";
|
||||||
const PHP_VERSION = "5.5";
|
|
||||||
|
|
||||||
if(\Phar::running(true) !== ""){
|
if(\Phar::running(true) !== ""){
|
||||||
@define("pocketmine\\PATH", \Phar::running(true) . "/");
|
@define("pocketmine\\PATH", \Phar::running(true) . "/");
|
||||||
|
@ -1994,7 +1994,7 @@ class Server{
|
|||||||
"os" => Utils::getOS(),
|
"os" => Utils::getOS(),
|
||||||
"memory_total" => $this->getConfigString("memory-limit"),
|
"memory_total" => $this->getConfigString("memory-limit"),
|
||||||
"memory_usage" => memory_get_usage(),
|
"memory_usage" => memory_get_usage(),
|
||||||
"php_version" => \pocketmine\PHP_VERSION,
|
"php_version" => PHP_VERSION,
|
||||||
"version" => $version->get(false),
|
"version" => $version->get(false),
|
||||||
"build" => $version->getBuild(),
|
"build" => $version->getBuild(),
|
||||||
"mc_version" => \pocketmine\MINECRAFT_VERSION,
|
"mc_version" => \pocketmine\MINECRAFT_VERSION,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user