[wp-testers] Upload and use of Images
Owen Winkler
ringmaster at midnightcircus.com
Tue Dec 6 03:12:41 GMT 2005
Andy Staines wrote:
> David, Owen or Matt
>
> OK - so I put the define into wp-config as:
>
> define('UPLOADS', ABSPATH.'/wp-content/images');
wp_upload_dir() prepends ABSPATH to the path, so you'll have to use just:
define('UPLOADS', 'wp-content/images');
I assume this is because the UPLOADS constant is used elsewhere to
determine the URL of the uploaded images, which wouldn't include ABSPATH.
Owen
More information about the wp-testers
mailing list