diff options
author | Aurélien Tamisier <virtualtam+github@flibidi.net> | 2019-01-18 21:26:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 21:26:03 +0100 |
commit | ff3b5dc5542ec150f0d9b447394364a15e9156d0 (patch) | |
tree | 5e926e36816d510e3b3a10e20b94c23f43b55092 /index.php | |
parent | 1826e383ecf501302974132fd443cf1ca06e10f6 (diff) | |
parent | dea72c711ff740b3b829d238fcf85648465143a0 (diff) | |
download | Shaarli-ff3b5dc5542ec150f0d9b447394364a15e9156d0.tar.gz Shaarli-ff3b5dc5542ec150f0d9b447394364a15e9156d0.tar.zst Shaarli-ff3b5dc5542ec150f0d9b447394364a15e9156d0.zip |
Merge pull request #1248 from virtualtam/refactor/namespacing
Ensure all PHP classes are properly namespaced
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 34 |
1 files changed, 18 insertions, 16 deletions
@@ -56,31 +56,33 @@ require_once 'inc/rain.tpl.class.php'; | |||
56 | require_once __DIR__ . '/vendor/autoload.php'; | 56 | require_once __DIR__ . '/vendor/autoload.php'; |
57 | 57 | ||
58 | // Shaarli library | 58 | // Shaarli library |
59 | require_once 'application/ApplicationUtils.php'; | 59 | require_once 'application/bookmark/LinkUtils.php'; |
60 | require_once 'application/Cache.php'; | ||
61 | require_once 'application/CachedPage.php'; | ||
62 | require_once 'application/config/ConfigPlugin.php'; | 60 | require_once 'application/config/ConfigPlugin.php'; |
63 | require_once 'application/FeedBuilder.php'; | 61 | require_once 'application/feed/Cache.php'; |
62 | require_once 'application/http/HttpUtils.php'; | ||
63 | require_once 'application/http/UrlUtils.php'; | ||
64 | require_once 'application/updater/UpdaterUtils.php'; | ||
64 | require_once 'application/FileUtils.php'; | 65 | require_once 'application/FileUtils.php'; |
65 | require_once 'application/History.php'; | ||
66 | require_once 'application/HttpUtils.php'; | ||
67 | require_once 'application/LinkDB.php'; | ||
68 | require_once 'application/LinkFilter.php'; | ||
69 | require_once 'application/LinkUtils.php'; | ||
70 | require_once 'application/NetscapeBookmarkUtils.php'; | ||
71 | require_once 'application/PageBuilder.php'; | ||
72 | require_once 'application/TimeZone.php'; | 66 | require_once 'application/TimeZone.php'; |
73 | require_once 'application/Url.php'; | ||
74 | require_once 'application/Utils.php'; | 67 | require_once 'application/Utils.php'; |
75 | require_once 'application/PluginManager.php'; | 68 | |
76 | require_once 'application/Router.php'; | 69 | use \Shaarli\ApplicationUtils; |
77 | require_once 'application/Updater.php'; | 70 | use \Shaarli\Bookmark\Exception\LinkNotFoundException; |
71 | use \Shaarli\Bookmark\LinkDB; | ||
78 | use \Shaarli\Config\ConfigManager; | 72 | use \Shaarli\Config\ConfigManager; |
73 | use \Shaarli\Feed\CachedPage; | ||
74 | use \Shaarli\Feed\FeedBuilder; | ||
75 | use \Shaarli\History; | ||
79 | use \Shaarli\Languages; | 76 | use \Shaarli\Languages; |
77 | use \Shaarli\Netscape\NetscapeBookmarkUtils; | ||
78 | use \Shaarli\Plugin\PluginManager; | ||
79 | use \Shaarli\Render\PageBuilder; | ||
80 | use \Shaarli\Render\ThemeUtils; | ||
81 | use \Shaarli\Router; | ||
80 | use \Shaarli\Security\LoginManager; | 82 | use \Shaarli\Security\LoginManager; |
81 | use \Shaarli\Security\SessionManager; | 83 | use \Shaarli\Security\SessionManager; |
82 | use \Shaarli\ThemeUtils; | ||
83 | use \Shaarli\Thumbnailer; | 84 | use \Shaarli\Thumbnailer; |
85 | use \Shaarli\Updater\Updater; | ||
84 | 86 | ||
85 | // Ensure the PHP version is supported | 87 | // Ensure the PHP version is supported |
86 | try { | 88 | try { |