Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getenv('HOME') sometimes returns false #68

Open
jnvsor opened this issue Nov 29, 2017 · 0 comments
Open

getenv('HOME') sometimes returns false #68

jnvsor opened this issue Nov 29, 2017 · 0 comments

Comments

@jnvsor
Copy link

jnvsor commented Nov 29, 2017

This causes SshConfigFileConfiguration::processPath to turn ~/folder into /folder and cause an error.

There are others you can fallback onto ($_SERVER['HOME'] for one) and as a final fallback it should assume the dirname(dirname($file)) of the config file is home (A setter for manually setting it would also be nice)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant