Changeset 1661


Ignore:
Timestamp:
Mar 22, 2011, 11:16:33 PM (6 years ago)
Author:
work@…
Message:
  • partly reverted the previous change (else instead of else if)
File:
1 edited

Legend:

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

    r1658 r1661  
    135135if (GrailsUtil.Environment.current == Environment.TEST) {
    136136    uploads.uploadDir = "webtestfiles"
    137 } else
    138 if (GrailsUtil.Environment.current == Environment.DEVELOPMENT) {
     137} else {
    139138    uploads.uploadDir = (new File("/tmp")?.canWrite()) ? "/tmp" : "fileuploads"   
    140139}
Note: See TracChangeset for help on using the changeset viewer.