diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rubyvm-on-php-on-wasm/HelloWorld.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/rubyvm-on-php-on-wasm/HelloWorld.php b/examples/rubyvm-on-php-on-wasm/HelloWorld.php index 1b5efda..b237637 100644 --- a/examples/rubyvm-on-php-on-wasm/HelloWorld.php +++ b/examples/rubyvm-on-php-on-wasm/HelloWorld.php @@ -1,10 +1,8 @@ <?php -require_once __DIR__ . '/vendor/autoload.php'; +require_once __DIR__ . '/../../vendor/autoload.php'; \define('STDIN', fopen('php://stdin', 'r')); -\define('STDOUT', fopen('php://stdout', 'r')); -\define('STDERR', fopen('php://stderr', 'r')); $rubyVM = new \RubyVM\VM\Core\Runtime\RubyVM( new \RubyVM\VM\Core\Runtime\Option( |
