simple-php-upload icon indicating copy to clipboard operation
simple-php-upload copied to clipboard

upload dir

Open newdayhost opened this issue 8 years ago • 2 comments

Fully-qualified URL produced by script includes server absolute path vs relative path to uploaddir. This does not produce a usable link.

eg: https://sitename.com/var/www/sitename.com/htdocs/dropbox/test/logo.png instead of https://sitename.com/dropbox/test/logo.png

newdayhost avatar Aug 01 '16 20:08 newdayhost

It seems that autoDetectBaseUrl did not work.

As a workaround, try setting $settings['url'] = https://sitename.com/dropbox/;

muchweb avatar Aug 02 '16 08:08 muchweb

It works here flawless. :-(

Quix0r avatar Aug 02 '16 10:08 Quix0r