src/AdminStoreInit.php
protected function store_check_expiration($expiration=null) {
		if (!$expiration)
			return 3600 * 2;
		$expiration = (int)$expiration;
		if ($expiration < 600)
			$expiration = 600;
		return $expiration;
	}
protected function store_check_expiration($expiration=null) {
		if (!$expiration)
			return 3600 * 2;
		$expiration = (int)$expiration;
		if ($expiration < 600)
			$expiration = 600;
		return $expiration;
	}
protected function store_check_expiration ( $ expiration = null ) { if ( ! $ expiration ) return 3600 * 2 ; $ expiration = ( int ) $ expiration ; if ( $ expiration < 600 ) $ expiration = 600 ; return $ expiration ; }
Verify expiration.

Do not allow session that's too short. That would annoy users.

@param int $expiration Session expiration, in seconds. This can
be used for standard or byway session.
Verify expiration .