Added debug output to CMS_BLOCK.

Updated SHARED_LOGGER to remove a few obsolete calls on json parser.
Added favicon.ico specific handling.
Fixed issue with theme and non raw block.
This commit is contained in:
2015-01-30 19:37:12 +01:00
parent 88ec1452d8
commit be0b5c23d2
4 changed files with 51 additions and 2 deletions

View File

@@ -83,7 +83,10 @@ feature {NONE} -- JSON
create Result
if attached json_file_from (a_path) as json_file then
l_parser := new_json_parser (json_file)
if attached {JSON_OBJECT} l_parser.parse as jv and then l_parser.is_parsed and then
l_parser.parse_content
if
l_parser.is_valid and then
attached l_parser.parsed_json_object as jv and then
attached {JSON_OBJECT} jv.item ("logger") as l_logger and then
attached {JSON_STRING} l_logger.item ("backup_count") as l_count and then
attached {JSON_STRING} l_logger.item ("level") as l_level then