Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 7babd74

Browse files
committed
Исправлены ошибки
1 parent abb4795 commit 7babd74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

initializers/server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
use Bitrix\Main\Page\Asset;
44

5-
$ggrachDebuggerRootPath = str_replace($_SERVER['DOCUMENT_ROOT'], '', __DIR__ . '/../');
6-
$ggrachPathLogFolder = __DIR__ . $ggrachDebuggerRootPath . '/logs';
5+
$ggrachDebuggerRootPath = str_replace($_SERVER['DOCUMENT_ROOT'], '', __DIR__ . '/..');
6+
$ggrachPathLogFolder = \realpath('.'.$ggrachDebuggerRootPath.'/logs');
77

88
\Bitrix\Main\Loader::registerAutoLoadClasses(null, [
99
"\GGrach\BitrixDebugger\Debugger\Debugger" => $ggrachDebuggerRootPath . "/src/BitrixDebugger/Debugger/Debugger.php",

0 commit comments

Comments
 (0)