aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/index.php b/index.php
index 42b853a4..26e8da8e 100644
--- a/index.php
+++ b/index.php
@@ -28,7 +28,6 @@ require_once __DIR__ . '/init.php';
28use Shaarli\Config\ConfigManager; 28use Shaarli\Config\ConfigManager;
29use Shaarli\Container\ContainerBuilder; 29use Shaarli\Container\ContainerBuilder;
30use Shaarli\Languages; 30use Shaarli\Languages;
31use Shaarli\Plugin\PluginManager;
32use Shaarli\Security\CookieManager; 31use Shaarli\Security\CookieManager;
33use Shaarli\Security\LoginManager; 32use Shaarli\Security\LoginManager;
34use Shaarli\Security\SessionManager; 33use Shaarli\Security\SessionManager;
@@ -65,9 +64,6 @@ $conf->setEmpty('general.title', t('Shared bookmarks on '). escape(index_url($_S
65RainTPL::$tpl_dir = $conf->get('resource.raintpl_tpl').'/'.$conf->get('resource.theme').'/'; // template directory 64RainTPL::$tpl_dir = $conf->get('resource.raintpl_tpl').'/'.$conf->get('resource.theme').'/'; // template directory
66RainTPL::$cache_dir = $conf->get('resource.raintpl_tmp'); // cache directory 65RainTPL::$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
71date_default_timezone_set($conf->get('general.timezone', 'UTC')); 67date_default_timezone_set($conf->get('general.timezone', 'UTC'));
72 68
73$loginManager->checkLoginState(client_ip_id($_SERVER)); 69$loginManager->checkLoginState(client_ip_id($_SERVER));