aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/config/ConfigJson.php
Commit message (Collapse)AuthorAgeFilesLines
* namespacing: \Shaarli\Exceptions\IOExceptionVirtualTam2019-01-121-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Shaarli's translationArthurHoaro2017-10-221-5/+10
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* Proper error if the conf file is invalid instead of fatal errorArthurHoaro2017-03-121-2/+8
| | | | | | | | 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: introduce the Shaarli\Config namespaceVirtualTam2017-03-041-2/+3
| | | | | | | | | | | Namespaces have been introduced with the REST API, and should be generalized to the whole codebase to manage object scope and benefit from autoloading. See: - https://secure.php.net/manual/en/language.namespaces.php - http://www.php-fig.org/psr/psr-4/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Cleanup: explicit method visibilityVirtualTam2017-01-051-3/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Minor code cleanup: PHPDoc, spelling, unused variables, etc.ArthurHoaro2016-10-201-1/+1
|
* Add closing PHP tags to JSON config filesArthurHoaro2016-06-201-1/+14
|
* Rename configuration keys and fix GLOBALS in templatesArthurHoaro2016-06-111-17/+16
|
* Adds ConfigJson which handle the configuration in JSON format.ArthurHoaro2016-06-111-0/+66
Also use the Updater to make the transition