mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 19:12:42 +00:00
Fixing (moving) session string warning (Ticket #2377) and adding automatic logging code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4846 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
83daab2b28
commit
b0307904ae
7 changed files with 82 additions and 19 deletions
|
@ -47,12 +47,6 @@ if (!defined('PHP5')) {
|
|||
Configure::store(null, 'class.paths');
|
||||
Configure::load('class.paths');
|
||||
Configure::write('debug', DEBUG);
|
||||
/**
|
||||
* Verify that the application's salt has been changed from the default value
|
||||
*/
|
||||
if (CAKE_SESSION_STRING == 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi') {
|
||||
trigger_error('Please change the value of CAKE_SESSION_STRING in app/config/core.php to a salt value specific to your application', E_USER_NOTICE);
|
||||
}
|
||||
/**
|
||||
* Get the application path and request URL
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue