From 3c66e56435359dc678048193e8ee239d06f79b64 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Fri, 3 Mar 2017 23:06:12 +0100 Subject: application: introduce the Shaarli\Config namespace 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 --- application/Updater.php | 2 ++ application/api/ApiMiddleware.php | 2 +- application/config/ConfigIO.php | 1 + application/config/ConfigJson.php | 5 +++-- application/config/ConfigManager.php | 16 ++++++---------- application/config/ConfigPhp.php | 3 ++- application/config/ConfigPlugin.php | 4 +++- 7 files changed, 18 insertions(+), 15 deletions(-) (limited to 'application') diff --git a/application/Updater.php b/application/Updater.php index f5ebf31a..27cb2f0a 100644 --- a/application/Updater.php +++ b/application/Updater.php @@ -1,4 +1,6 @@