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