From 094812064b303f63295c49df6196fee17f9ed1af Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 13 May 2024 12:10:57 +0300 Subject: [PATCH] Update MinecraftServer.php --- web/Modules/Minecraft/App/Models/MinecraftServer.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/Modules/Minecraft/App/Models/MinecraftServer.php b/web/Modules/Minecraft/App/Models/MinecraftServer.php index bba64ff..a96d0a5 100644 --- a/web/Modules/Minecraft/App/Models/MinecraftServer.php +++ b/web/Modules/Minecraft/App/Models/MinecraftServer.php @@ -54,9 +54,7 @@ class MinecraftServer extends Model file_put_contents($minecraftServerPath.'/docker-compose.yml', $minecraftServerDocker); $docker = shell_exec('cd '.$minecraftServerPath.' && docker-compose up -d'); - - dd($docker); - + }); static::created(function ($model) {