diff options
author | ArthurHoaro <arthur.hoareau@wizacha.com> | 2020-07-23 16:41:32 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 3ee8351e438f13ccf36062ce956e0b4a4d5f4a29 (patch) | |
tree | 5c5ea281a072e4dffe0b97c12269278c999710df /index.php | |
parent | fabff3835da26e6c95cea56b2a01a03749dec7c8 (diff) | |
download | Shaarli-3ee8351e438f13ccf36062ce956e0b4a4d5f4a29.tar.gz Shaarli-3ee8351e438f13ccf36062ce956e0b4a4d5f4a29.tar.zst Shaarli-3ee8351e438f13ccf36062ce956e0b4a4d5f4a29.zip |
Multiple small fixes
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -28,7 +28,6 @@ require_once __DIR__ . '/init.php'; | |||
28 | use Shaarli\Config\ConfigManager; | 28 | use Shaarli\Config\ConfigManager; |
29 | use Shaarli\Container\ContainerBuilder; | 29 | use Shaarli\Container\ContainerBuilder; |
30 | use Shaarli\Languages; | 30 | use Shaarli\Languages; |
31 | use Shaarli\Plugin\PluginManager; | ||
32 | use Shaarli\Security\CookieManager; | 31 | use Shaarli\Security\CookieManager; |
33 | use Shaarli\Security\LoginManager; | 32 | use Shaarli\Security\LoginManager; |
34 | use Shaarli\Security\SessionManager; | 33 | use Shaarli\Security\SessionManager; |
@@ -65,9 +64,6 @@ $conf->setEmpty('general.title', t('Shared bookmarks on '). escape(index_url($_S | |||
65 | RainTPL::$tpl_dir = $conf->get('resource.raintpl_tpl').'/'.$conf->get('resource.theme').'/'; // template directory | 64 | RainTPL::$tpl_dir = $conf->get('resource.raintpl_tpl').'/'.$conf->get('resource.theme').'/'; // template directory |
66 | RainTPL::$cache_dir = $conf->get('resource.raintpl_tmp'); // cache directory | 65 | RainTPL::$cache_dir = $conf->get('resource.raintpl_tmp'); // cache directory |
67 | 66 | ||
68 | $pluginManager = new PluginManager($conf); | ||
69 | $pluginManager->load($conf->get('general.enabled_plugins')); | ||
70 | |||
71 | date_default_timezone_set($conf->get('general.timezone', 'UTC')); | 67 | date_default_timezone_set($conf->get('general.timezone', 'UTC')); |
72 | 68 | ||
73 | $loginManager->checkLoginState(client_ip_id($_SERVER)); | 69 | $loginManager->checkLoginState(client_ip_id($_SERVER)); |