commit | d444d445ed0458a352ecb9ff79ffd158677ee805 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Oct 06 00:00:08 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Oct 06 00:00:08 2014 +0300 |
tree | dcdbe4b38dbb343498b2ea2a37556cb358cd5720 | |
parent | 86d7eadf102c798f2aa70a86e86fd0f5050d9574 [diff] [blame] |
config_item() to return NULL instead of FALSE for non-existing items Close #3001 Close #3232 Related: #3244
diff --git a/system/core/Input.php b/system/core/Input.php index ada9fc6..9ae2f6d 100644 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -353,7 +353,7 @@ $path = config_item('cookie_path'); } - if ($secure === FALSE && config_item('cookie_secure') !== FALSE) + if ($secure === FALSE && config_item('cookie_secure') === TRUE) { $secure = config_item('cookie_secure'); }