]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Proper error if the conf file is invalid instead of fatal error 817/head
authorArthurHoaro <arthur@hoa.ro>
Sun, 12 Mar 2017 15:09:34 +0000 (16:09 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sun, 12 Mar 2017 15:09:34 +0000 (16:09 +0100)
commitc6a4c2882d89c6bcceeeccd319549611a5d1801b
treed402f0c42c04a480b086d354951ad1f0c8732696
parent7fc5f07492b9bfe58cb33907ceb42e9bccd624ce
Proper error if the conf file is invalid instead of fatal error

Error:

An error occurred while parsing configuration JSON file (data/config.json.php): error code #4
➜ Syntax error
Please check your JSON syntax (without PHP comment tags) using a JSON lint tool such as jsonlint.com.
application/config/ConfigJson.php
application/config/ConfigManager.php
tests/config/ConfigJsonTest.php