Forgot to update changelog Added fatal error should parsing JSON config fail (thanks jZed__ on freenode #webgui)
This commit is contained in:
parent
8fa19e89fe
commit
c93ce14c28
2 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,9 @@
|
||||||
- fix: entry in error log of WebGUI
|
- fix: entry in error log of WebGUI
|
||||||
- Fixed part of RSSCapable addition upgrade script in 7.2.0.
|
- Fixed part of RSSCapable addition upgrade script in 7.2.0.
|
||||||
- fix: MIME types broken from change to the way File assets were streamed
|
- fix: MIME types broken from change to the way File assets were streamed
|
||||||
|
- fix: New resizable textareas not obeying width/height parameters
|
||||||
|
- fix: InOutBoard not allowing re-editing of new revisions
|
||||||
|
- Added a fatal error should parsing of JSON config file fail
|
||||||
|
|
||||||
7.2.0
|
7.2.0
|
||||||
- Added server side spellchecker (Martin Kamerbeek / Procolix)
|
- Added server side spellchecker (Martin Kamerbeek / Procolix)
|
||||||
|
|
|
||||||
|
|
@ -340,6 +340,8 @@ sub new {
|
||||||
}
|
}
|
||||||
close($FILE);
|
close($FILE);
|
||||||
my $conf = jsonToObj($json);
|
my $conf = jsonToObj($json);
|
||||||
|
die "Couldn't parse JSON in config file '$filename'\n"
|
||||||
|
unless ref $conf;
|
||||||
my $self = {_webguiRoot=>$webguiPath, _configFile=>$filename, _config=>$conf};
|
my $self = {_webguiRoot=>$webguiPath, _configFile=>$filename, _config=>$conf};
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
$config{$filename} = $self unless $noCache;
|
$config{$filename} = $self unless $noCache;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue