From: Vincent Vanwaelscappel Date: Mon, 13 Feb 2023 10:20:24 +0000 (+0100) Subject: wip #5725 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=95508f024c1c71b1013f07e873fe0288ee0d8d12;p=fluidbook_distantstorage.git wip #5725 @0.25 --- diff --git a/app/tools.php b/app/tools.php index 0224aa5..5badbad 100644 --- a/app/tools.php +++ b/app/tools.php @@ -6,5 +6,9 @@ require_once __DIR__ . "/vendor/autoload.php"; $f = $_POST['function']; if (is_callable([Tools::class, $f])) { - die(Tools::$f($_POST)); -} \ No newline at end of file + $res = Tools::$f($_POST); + error_log($f . ' : ' . print_r($_POST) . ' -> ' . $res); + die($res); +} +error_log('unavailable function ' . $f); +die(0); \ No newline at end of file