Validation error reporting functionality.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 18 Jun 2011 20:01:32 +0000 (15:01 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 18 Jun 2011 20:01:32 +0000 (15:01 -0500)
Changed a few things so we can report errors to users properly in the
config loading system.

 - We now return from read_mediagoblin_config both a loaded config and
   the validation results
 - We now have a helper function generate_validation_report that can
   generate a proper validation report saying if there are errors in a
   way that's useful to users.
 - Moved conf->config in the read_mediagoblin_config function, which
   looks nicer IMO.


No differences found