XF 2.1 Change folder store attachment

hanyuwomr

Member
Hi,
We have an issue with folder store attachment then I want to change location, How can I change it.
I tried with config :
$config['externalDataUrl'] = '/mnt/disk/data/attachments';
$config['externalDataPath'] = '/mnt/disk/data/attachments';
but it seem not running. File uploaded but i can't see any file in folder of /mnt/*.
Please help me.
Thanks.
 

AndyB

Well-known member
Example:

PHP:
$config['internalDataPath'] = '/home/username/public_html/xenforo/internal_data'; 
$config['externalDataPath'] = '/home/username/public_html/xenforo/data';
$config['externalDataUrl'] = 'https://www.domain.com/xenforo/data';
 
Top