Changeset 1541


Ignore:
Timestamp:
Feb 21, 2011, 5:47:05 PM (6 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.