summaryrefslogtreecommitdiff
path: root/plugins/app/tests/hello.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/app/tests/hello.php')
-rw-r--r--plugins/app/tests/hello.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/app/tests/hello.php b/plugins/app/tests/hello.php
index 4219dcf4..2591b77f 100644
--- a/plugins/app/tests/hello.php
+++ b/plugins/app/tests/hello.php
@@ -6,8 +6,9 @@
use Spiral\Goridge;
use Spiral\RoadRunner;
-require "/vendor_php/autoload.php";
+require dirname(__DIR__) . "/../../vendor_php/autoload.php";
+$relay = new Goridge\StreamRelay(STDIN, STDOUT);
$rr = new RoadRunner\Worker($relay);
while ($in = $rr->receive($ctx)) {