Changeset 856
- Timestamp:
- Aug 30, 2010, 12:06:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r855 r856 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_ DEVELOPMENT) {117 if (Study.count() == 0 && grails.util.GrailsUtil.environment == GrailsApplication.ENV_PRODUCTION) { 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.