fix open_basedir restriction handling
This commit is contained in:
parent
7b9641978d
commit
b334e03c23
|
@ -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…
Reference in New Issue