S3-Uploads icon indicating copy to clipboard operation
S3-Uploads copied to clipboard

Add url_fopen option checking to requirements

Open dmgawel opened this issue 5 years ago • 1 comments

The plugin uses stream_wrapper_register with STREAM_IS_URL flag, thus requiring allow_url_fopen to be enabled. It is a common security practice among hosting providers to disable this option as a precautionary measure. In such a setup the user only sees following error:

Unable to create directory. Is its parent directory writable by the server?

This PR adds a check during plugin init and provides appropriate error message when allow_url_fopen is disabled.

Related issue: #325

dmgawel avatar Feb 27 '20 13:02 dmgawel

Great, thanks @dmgawel

joehoyle avatar Jun 08 '20 08:06 joehoyle