]> _ Git - fluidbook_distantstorage.git/commitdiff
wip #5725 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 10:20:24 +0000 (11:20 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 10:20:24 +0000 (11:20 +0100)
app/tools.php

index 0224aa5bcfbe4008ec7bd03f6348c160c4ef8d7a..5badbad1eb8614f2a994586fdce6f6fb2b7f12b0 100644 (file)
@@ -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