mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
Closes #3394, applied test patch
Deprecated define('MAX_MD5SIZE', (5 * 1024) * 1024); in core.php Removing additional defines in core.php, replaced with Configure::write(); Added CakeSession::__startSession() to check for sent headers before attempting to start the session. Added notices to Configure::__loadBootstrap() that will be removed before stable release. Refactored Folder::tree(). Added additional FolderTest cases git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5768 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
16fbd33eee
commit
1aa1164b1d
20 changed files with 386 additions and 154 deletions
|
@ -116,7 +116,7 @@ class CookieComponent extends Object {
|
|||
* @var string
|
||||
* @access protected
|
||||
*/
|
||||
var $key = CAKE_SESSION_STRING;
|
||||
var $key = null;
|
||||
/**
|
||||
* Values stored in the cookie.
|
||||
*
|
||||
|
@ -190,6 +190,7 @@ class CookieComponent extends Object {
|
|||
*/
|
||||
function startup() {
|
||||
$this->__expire($this->time);
|
||||
$this->key = Configure::read('Security.salt');
|
||||
|
||||
if (isset($_COOKIE[$this->name])) {
|
||||
$this->__values = $this->__decrypt($_COOKIE[$this->name]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue