public function __destruct() { setcookie('IgnaszakRegistry', serialize($this->registryArray), time() + Conf::getCookieLife(), Conf::getCookiePath()); }
public function testCookiePath() { Conf::setCookiePath('/'); $this->assertEquals('/', Conf::getCookiePath()); }