fix open_basedir restriction handling

pull/2/head
Fabian Franz 4 years ago
parent 7b9641978d
commit b334e03c23
  1. 3
      run_server.php

@ -1,6 +1,7 @@
<?php
/**
* Copyright (C) 2018 Deciso B.V.
* Copyright (C) 2018 Fabian Franz
*
* All rights reserved.
*
@ -61,6 +62,8 @@ if (PHP_OS == 'WINNT') {
$run_command[] = '-d include_path=".:' . implode(':', $include_paths) . '"';
}
$run_command[] = "-d open_basedir=";
// listen to localhost
$run_command[] = "-S localhost:8000";

Loading…
Cancel
Save