1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
healerearlysessionstart.php
См. документацию.
1<?php
2
4
8
10{
12 {
13 if (($kernelSession instanceof KernelSessionProxy) && $kernelSession->isActive() && !$kernelSession->isStarted())
14 {
15 session_write_close();
16
17 $exception = new SystemException(
18 'Attention! The session_start function was called before the Bitrix Kernel was started. ' .
19 'The session will be closed to avoid errors. It\'s strongly recommended to avoid session usage before initializing the Bitrix Kernel.'
20 );
21 trigger_error($exception->getMessage(), E_USER_DEPRECATED);
23 $exceptionHandler = $application->getExceptionHandler();
24 $exceptionHandler->writeToLog($exception);
25 }
26 }
27}
static getInstance()
Определения application.php:98
process(SessionInterface $kernelSession)
Определения healerearlysessionstart.php:11
$application
Определения bitrix.php:23
$kernelSession
Определения include.php:181