bernhard Posted October 9, 2015 Share Posted October 9, 2015 i just had to install a site-profile and i thought it would be handy if there was a field to upload the site-profile.zip during installaton. would make things easier than explaining how to upload things to the server and then extract it to the right place etc... of course just a little improvement but may be helpful for newbies. what do you think? 1 Link to comment Share on other sites More sharing options...
horst Posted October 10, 2015 Share Posted October 10, 2015 Sounds good at first, but would need write access to the root directory for webusers, what, I think, isn't acceptable for that little comfort. Just my two cents. Link to comment Share on other sites More sharing options...
bernhard Posted October 10, 2015 Author Share Posted October 10, 2015 hm. sounds like a valid point. but couldn't a chmod solve that in the next step easily? thanks for your two cents, horst Link to comment Share on other sites More sharing options...
horst Posted October 10, 2015 Share Posted October 10, 2015 as I know and understand the access rights in unix (and other) systems, the parent directory need write access. The parent directory for most PW installations is the webroot! Besides that in many shared environments you will not be able to change access rights for the root directory, I also wouldn't do that if I could. Link to comment Share on other sites More sharing options...
bernhard Posted October 10, 2015 Author Share Posted October 10, 2015 hm... you are right. having an empty writeable site-upload folder could work?! there would have to be only ONE folder because you could also only upload ONE site-profile at a time. the installer would only have to take the uploaded zip, copy its content into /site-upload and update the select-field with the description + thumbnail from the uploaded file. don't know how hard that would be in the installer.php and if one can easily add a standard pw file upload field at this place? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now