Signed-off-by: Aaron Brock <TheMineBench@gmail.com>
This commit is contained in:
Aaron Brock 2015-07-11 03:51:19 -04:00
parent 6bacbce463
commit 7377094e86
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ class WorldComponent implements Listener
//Unzip World
$zip = new ZipArchive;
$res = $zip->open('..' . DIRECTORY_SEPARATOR. 'update' . DIRECTORY_SEPARATOR. 'maps' . DIRECTORY_SEPARATOR . $gameName . DIRECTORY_SEPARATOR . $worldName . '.zip');
$res = $zip->open('..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'update' . DIRECTORY_SEPARATOR. 'maps' . DIRECTORY_SEPARATOR . $gameName . DIRECTORY_SEPARATOR . $worldName . '.zip');
if ($res === TRUE)
{
$zip->extractTo('worlds' . DIRECTORY_SEPARATOR . $this->worldNameFolder . '/');

View File

@ -10,7 +10,7 @@ settings:
deprecated-verbose: true
#Enable plugin and core profiling by default
enable-profiling: false
advanced-cache: false
advanced-cache: true
upnp-forwarding: false
#Sends anonymous statistics to create usage reports
send-usage: true

View File

@ -1,5 +1,5 @@
#Properties Config file
#Fri Jul 10 17:31:47 AEST 2015
#Sat Jul 11 00:36:33 ACT 2015
motd=Minecraft: PE Server
server-port=19132
memory-limit=-1