Changeset 1741

Show
Ignore:
Timestamp:
11-04-11 10:55:28 (3 years ago)
Author:
work@…
Message:

- changed file upload definition logic

Files:
1 modified

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 {