Skip to content

config.php will not be written if it does not exist #29

Description

@sebsel

So, we write the config.php file if it's writeable, and if not, we show the user what to copy to the file by hand.

Since we don't ship with a config.php file, and since is_writeable() returns false when file does not exist, people will always have to copy it manually.

Maybe we should do a @touch($configfile); right before it? Suppressing any errors, because we check for writability next thing?

if (is_writeable($configfile) && !$configured) {

Mentioning PR #27 here, because it's about cleaning up setup.php

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions