]> _ Git - fluidbook_processfarm.git/commitdiff
wip #5220
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Apr 2022 19:18:31 +0000 (21:18 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Apr 2022 19:18:31 +0000 (21:18 +0200)
bin/process
bin/process.php

index 55e2208d98b32d43b3f0509d5a933c2c6188d86f..68fb8d551de430383fd80ae8580811205eced3fd 100644 (file)
@@ -1,2 +1,2 @@
 #!/bin/sh
-/usr/bin/php8.1 -f /usr/local/fluidbook_processfarm/bin/process.php --
\ No newline at end of file
+/usr/bin/php8.1 -f /usr/local/fluidbook_processfarm/bin/process.php -- $1
\ No newline at end of file
index 064b78af83437f459f40586c39e851c01320e9d6..66e38469226fe8fae3eb7a88ff1eedb1bfb23a20 100644 (file)
@@ -1,5 +1,6 @@
 <?php
-require_once "../vendor/autoload.php";
+
+require_once __DIR__."/../vendor/autoload.php";
 $params = json_decode(base64_decode($argv[1]));
 print_r($params);
 exit;