Added GIT_COMMIT to the Error dump

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-25 17:54:32 +02:00
parent 33a614c615
commit 173784752e
3 changed files with 9 additions and 7 deletions

View file

@ -453,6 +453,7 @@ class PocketMinecraftServer{
$dump .= "\r\n\r\n";
$version = new VersionString();
$dump .= "PM Version: ".$version." #".$version->getNumber()." [Protocol ".CURRENT_PROTOCOL."]\r\n";
$dump .= "Commit: ".GIT_COMMIT."\r\n";
$dump .= "uname -a: ".php_uname("a")."\r\n";
$dump .= "PHP Version: " .phpversion()."\r\n";
$dump .= "Zend version: ".zend_version()."\r\n";