* Bug 12976: Use $WebResponse->setCookie() rather than raw setcookie() calls.
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 9a3c567..9a1ae62 100644 (file)
@@ -1556,6 +1556,11 @@ $wgCookiePrefix = false;
  */
 $wgCookieHttpOnly = version_compare("5.2", PHP_VERSION, "<");
 
+/**
+ * Allow MediaWiki to set persistent cookies for login, etc.
+ */
+$wgEnablePersistentCookies = true;
+
 /**
  * If the requesting browser matches a regex in this blacklist, we won't
  * send it cookies with HttpOnly mode, even if $wgCookieHttpOnly is on.