aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-03-03 23:06:12 +0100
committerVirtualTam <virtualtam@flibidi.net>2017-03-04 17:07:52 +0100
commit3c66e56435359dc678048193e8ee239d06f79b64 (patch)
tree38a4be4a9d9babc193683feec412ac008ca9a169 /index.php
parent74198dcdf65ee3dd83cbe5b6a8a85bc386a62063 (diff)
downloadShaarli-3c66e56435359dc678048193e8ee239d06f79b64.tar.gz
Shaarli-3c66e56435359dc678048193e8ee239d06f79b64.tar.zst
Shaarli-3c66e56435359dc678048193e8ee239d06f79b64.zip
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 <virtualtam@flibidi.net>
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index 8eb36d81..77857d27 100644
--- a/index.php
+++ b/index.php
@@ -62,8 +62,6 @@ require_once __DIR__ . '/vendor/autoload.php';
62require_once 'application/ApplicationUtils.php'; 62require_once 'application/ApplicationUtils.php';
63require_once 'application/Cache.php'; 63require_once 'application/Cache.php';
64require_once 'application/CachedPage.php'; 64require_once 'application/CachedPage.php';
65require_once 'application/config/ConfigManager.php';
66require_once 'application/config/ConfigPlugin.php';
67require_once 'application/FeedBuilder.php'; 65require_once 'application/FeedBuilder.php';
68require_once 'application/FileUtils.php'; 66require_once 'application/FileUtils.php';
69require_once 'application/HttpUtils.php'; 67require_once 'application/HttpUtils.php';
@@ -80,6 +78,7 @@ require_once 'application/PluginManager.php';
80require_once 'application/Router.php'; 78require_once 'application/Router.php';
81require_once 'application/Updater.php'; 79require_once 'application/Updater.php';
82use \Shaarli\ThemeUtils; 80use \Shaarli\ThemeUtils;
81use \Shaarli\Config\ConfigManager;
83 82
84// Ensure the PHP version is supported 83// Ensure the PHP version is supported
85try { 84try {