Directories¶
Click Directories to open the Upload Directories page. The first time you access CiviCRM, default values for these upload directories are supplied based on the CIVICRM_TEMPLATE_COMPILEDIR file specified in civicrm.settings.php. If you modify the defaults, make sure your web server has write access to the directories.
- Indicate a path on your server or network for the items you wish to set up: temporary files, images, custom files and/or custom templates. For example, a temporary file path might look like this: /home/drupal/public_html/drupal/files/civicrm/upload/
- Click Save to save your action or Cancel to cancel it.
If successful, you will see the message "Your settings changes have been saved."
Images Path
The Images directory should be specified without the use of symbolic links. Using symbolic links in this field has been observed to cause an "Unknown error" message when attempting to upload images or refresh image thumbnails in the email editor. This is due to a change in the kcfinder package version 3.12 introduced in CiviCRM version 4.5.3.
Custom Files Path
The current "default" setting for the Custom Files directory is below the default path for Temporary Files. This is potentially dangerous, as running the directoryCleanup debug action could delete all custom files. If you are using custom files, you should modify the path so it is NOT below your Temporary Files directory.