Skip to content

Commit

Permalink
Fix "secure" flag on cookies; fixes #2627
Browse files Browse the repository at this point in the history
Signed-off-by: michael-e <info@michael-eichelsdoerfer.de>
  • Loading branch information
michael-e authored and nitriques committed Oct 27, 2016
1 parent 1ff58f8 commit 382e446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symphony/lib/core/class.cookie.php
Expand Up @@ -109,7 +109,7 @@ public function __construct($index, $timeout = 0, $path = '/', $domain = null, $
$this->_domain = $domain;
$this->_httpOnly = $httpOnly;

if (defined(__SECURE__)) {
if (defined('__SECURE__')) {
$this->_secure = __SECURE__;
}

Expand Down

0 comments on commit 382e446

Please sign in to comment.