Jump to content

Recommended Posts

Posted

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?

  • Like 1
Posted

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. :)

Posted

hm. sounds like a valid point. but couldn't a chmod solve that in the next step easily?

thanks for your two cents, horst  :)

Posted

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. :)

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...