Changeset 1541


Ignore:
Timestamp:
21-02-11 17:47:05 (5 years ago)
Author:
work@…
Message:
  • upload dir is now /tmp by default
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r1508 r1541  
    132132// Otherwise, it should be given as an absolute path (e.g. '/home/user/sequences') 
    133133// The directory should be writable by the webserver user 
    134 uploads.uploadDir = "fileuploads" 
     134uploads.uploadDir = (new File("/tmp")?.canWrite()) ? "/tmp" : "fileuploads" 
Note: See TracChangeset for help on using the changeset viewer.