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

Feature Request: Permanent User directory under htdocs #226

Closed
pz1 opened this issue Mar 2, 2015 · 2 comments
Closed

Feature Request: Permanent User directory under htdocs #226

pz1 opened this issue Mar 2, 2015 · 2 comments

Comments

@pz1
Copy link
Contributor

pz1 commented Mar 2, 2015

Can we have analogous to the [userModules] a user folder underneath the htdocs folder? The contents of that tree should be preserved during upgrades.
This (http://forum.z-wave.me/viewtopic.php?f=3424&t=21299) application needs to install under htdocs. For my own emerging Solar production module it would be nice to have that rendered from here as well.

@pz1
Copy link
Contributor Author

pz1 commented Mar 18, 2015

Looked a bit further in this. Doesn't seem a lot of work. I quess that adding the following code to the installer would do the trick.

    if [[ -d $TMP_ZWAY_DIR/htdocs/user ]]
        then
        rm -Rf $ZWAY_DIR/htdocs/user
        cp -R $TMP_ZWAY_DIR/htdocs/user $ZWAY_DIR/htdocs/
    fi

But I can't judge if it is desirable/safe to have user stuff there

@pz1
Copy link
Contributor Author

pz1 commented Jul 20, 2015

Close because this is essentially the same issue as Z-Wave-Me/zwave-smarthome#4

@pz1 pz1 closed this as completed Jul 20, 2015
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