facebook / facebook/hhvm

documentation on source_root is misleading

Open
#8,388 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

### Standalone code, or other way to reproduce the problem

Given the code:

```php
hhvm.server.source_root
> working directory of HHVM process
> For server mode, this will hold the path to the root of the directory of the code being served up. This setting is _useless_ in repo-authoritative mode.

But this setting affects `__DIR__` even in repo-authoritative mode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.