From e1ba46fd9a6f9ade2ca190c10115a408832714e4 Mon Sep 17 00:00:00 2001 From: Richard Lobb Date: Fri, 22 Mar 2024 15:56:47 +1300 Subject: [PATCH] Fix warning messages that cookie file does not exist when attempting to delete it. --- classes/jobesandbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/jobesandbox.php b/classes/jobesandbox.php index be718cfa..ddda82b9 100644 --- a/classes/jobesandbox.php +++ b/classes/jobesandbox.php @@ -257,7 +257,7 @@ public function execute($sourcecode, $language, $input, $files = null, $params = } // Delete the cookie file. - unlink($cookiefile); + @unlink($cookiefile); $runresult = []; $runresult['sandboxinfo'] = [