Skip to content

Commit 5851a43

Browse files
author
Kent Richards
committed
Documentation.
1 parent 8b19e8f commit 5851a43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Bridges/DrupalKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ protected static function mapRequest(ReactRequest $reactRequest, $content) {
114114
// Set CGI/1.1 (RFC 3875) server vars.
115115
if (empty($_ENV)) {
116116
// In some cases with cli, $_ENV isn't set, so get with getenv().
117+
// @see http://stackoverflow.com/questions/8798294/getenv-vs-env-in-php/21473853#21473853
117118
// @todo: Make this more efficient to eliminate running per request.
118119
// Static variable?
119120
$_ENV['DOCUMENT_ROOT'] = getenv('DOCUMENT_ROOT');

0 commit comments

Comments
 (0)