Merge pull request #2 from fabianfrz/fix_open_basedir

fix open_basedir restriction handling
This commit is contained in:
Ad Schellevis 2018-05-31 16:18:40 +02:00 committed by GitHub
commit e78314d06b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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";