Skip to content

getenv('HOME') sometimes returns false #68

@jnvsor

Description

@jnvsor

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions