diff options
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)); |