Moved max upload length to Globals.java