Permalink
Browse files

Cookies passed to the browser are now available within the entire dom…

…ain.
  • Loading branch information...
1 parent 3ce5042 commit d43cedd5278f03202a9ac86e6654ff5ca9870e44 Jim Safley committed May 24, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Scripto/Service/MediaWiki.php
@@ -542,7 +542,8 @@ public function login($lgname, $lgpassword)
foreach (self::getHttpClient()->getCookieJar()->getAllCookies() as $cookie) {
setcookie(self::COOKIE_PREFIX . $cookie->getName(),
$cookie->getValue(),
- $cookie->getExpiryTime());
+ $cookie->getExpiryTime(),
+ '/');
}
}
return;

0 comments on commit d43cedd

Please sign in to comment.