Changeset 1741


Ignore:
Timestamp:
Apr 11, 2011, 10:55:28 AM (6 years ago)
Author:
work@…
Message:
  • changed file upload definition logic
File:
1 edited

Legend:

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

    r1673 r1741  
    1  /**
     1import org.codehaus.groovy.grails.commons.GrailsApplication
     2
     3/**
    24 * Application Configuration
    35 *
     
    134136// Otherwise, it should be given as an absolute path (e.g. '/home/user/sequences')
    135137// The directory should be writable by the webserver user
    136 if (GrailsUtil.Environment.current == Environment.TEST) {
     138if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_TEST) {
    137139    uploads.uploadDir = "webtestfiles"
    138140} else {
Note: See TracChangeset for help on using the changeset viewer.