fix open_basedir restriction handling

This commit is contained in:
Fabian Franz 2018-05-31 12:20:44 +02:00
parent 7b9641978d
commit b334e03c23
1 changed files with 3 additions and 0 deletions

View File

@ -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";