diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/LoginManager.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/application/LoginManager.php b/application/LoginManager.php index 8f6bf0da..d81c6c05 100644 --- a/application/LoginManager.php +++ b/application/LoginManager.php | |||
@@ -6,11 +6,22 @@ namespace Shaarli; | |||
6 | */ | 6 | */ |
7 | class LoginManager | 7 | class LoginManager |
8 | { | 8 | { |
9 | /** @var array A reference to the $_GLOBALS array */ | ||
9 | protected $globals = []; | 10 | protected $globals = []; |
11 | |||
12 | /** @var ConfigManager Configuration Manager instance **/ | ||
10 | protected $configManager = null; | 13 | protected $configManager = null; |
14 | |||
15 | /** @var SessionManager Session Manager instance **/ | ||
11 | protected $sessionManager = null; | 16 | protected $sessionManager = null; |
17 | |||
18 | /** @var string Path to the file containing IP bans */ | ||
12 | protected $banFile = ''; | 19 | protected $banFile = ''; |
20 | |||
21 | /** @var bool Whether the user is logged in **/ | ||
13 | protected $isLoggedIn = false; | 22 | protected $isLoggedIn = false; |
23 | |||
24 | /** @var bool Whether the Shaarli instance is open to public edition **/ | ||
14 | protected $openShaarli = false; | 25 | protected $openShaarli = false; |
15 | 26 | ||
16 | /** | 27 | /** |