]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/SessionManager.php
Refactor SessionManager::$INACTIVITY_TIMEOUT
[github/shaarli/Shaarli.git] / application / SessionManager.php
index 71f0b38dc227e38e2a9022a5c6c7a417060db935..704f8504ccbfadae544e60994852fc60965a7542 100644 (file)
@@ -6,6 +6,10 @@ namespace Shaarli;
  */
 class SessionManager
 {
+    /** Session expiration timeout, in seconds */
+    public static $INACTIVITY_TIMEOUT = 3600;
+
+    /** Local reference to the global $_SESSION array */
     protected $session = [];
 
     /**