protected function FlagNonGlobalCookieStorage::get_lifetime in Flag 7.3
Same name and namespace in other branches
- 6.2 flag.inc \FlagNonGlobalCookieStorage::get_lifetime()
- 7.2 flag.inc \FlagNonGlobalCookieStorage::get_lifetime()
1 call to FlagNonGlobalCookieStorage::get_lifetime()
File
- includes/
flag.cookie_storage.inc, line 139 - Contains the FlagCookieStorage class.
Class
- FlagNonGlobalCookieStorage
- Storage handler for non-global flags.
Code
protected function get_lifetime() {
return min((int) ini_get('session.cookie_lifetime'), (int) ini_get('session.gc_maxlifetime'));
}