Changeset 858 for trunk/grails-app/conf
- Timestamp:
- Aug 30, 2010, 12:31:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r856 r858 115 115 116 116 // If in development mode and no studies are present, add example studies 117 if (Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) {117 if (Study.count() == 0) { // && grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) { 118 118 // check if special file is present in project directory 119 119 if ((new File(System.properties['user.dir']+"/.skip-studies").exists())) {
Note: See TracChangeset
for help on using the changeset viewer.