mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
conditional inclusion for ErrorHandler class in the session.test file in order to prevent the CakeSession class being redeclared when running the testsuiteshell; fixes #5092
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7382 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
0948035eba
commit
eddf2ee5f3
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@
|
|||
* @lastmodified $Date$
|
||||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
App::import('Core', 'Session');
|
||||
if (!class_exists('CakeSession')) {
|
||||
App::import('Core', 'Session');
|
||||
}
|
||||
/**
|
||||
* Short description for class.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue