Details
- 
    Type:
Bug
 - 
    Status: Done/Fixed
 - 
    Priority:
Major
 - 
    Resolution: Fixed/Completed
 - 
    Affects Version/s: 1.6
 - 
    Fix Version/s: 1.6
 - 
    Component/s: None
 - 
    Labels:None
 
Description
If the user makes a mistake with templates_c, civicrm assigns bad defaults to the upload/images/custom directories. Once the user rectifies his templates_c mistake, civicrm does not refix the other directories (which is right behavior)
We should implement the following rule:
1. give upload directory a value based on templates_c if not already set
2. if we cannot create a directory there, then DO NOT SET the value, keep it null.
3. attempt whenever we have a value for templates_c and not a value for upload_dir
i suspect quite a few users will make this mistake (i've already helped 2 experienced folks with this), so we should fix this in 1.6 asap