Changeset 1541

Show
Ignore:
Timestamp:
21-02-11 17:47:05 (3 years ago)
Author:
work@…
Message:

- upload dir is now /tmp by default

Files:
1 modified

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"