NIHVIVO-56 Property name changed for upload.directory.

This commit is contained in:
jeb228 2010-02-21 18:58:11 +00:00
parent 03ab54f1eb
commit e28f10d2bc

View file

@ -534,7 +534,7 @@ public class UploadImagesServlet extends VitroHttpServlet {
* @throws IOException * @throws IOException
*/ */
private String getSourceDirName() throws IOException{ private String getSourceDirName() throws IOException{
String dirName = ConfigurationProperties.getProperty("UploadImagesServlet.sourceDirName"); String dirName = ConfigurationProperties.getProperty("upload.directory");
if( dirName == null ) { if( dirName == null ) {
log.error("getSourceDirName(): property sourceDirName not defined in configuration properties"); log.error("getSourceDirName(): property sourceDirName not defined in configuration properties");
} else { } else {