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

Commit 89749d2

Browse files
committed
Исправлены ошибки с путями
1 parent db45f08 commit 89749d2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

assets/DebugBar/css/themes/general.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
border-bottom: 1px solid #c3c3c3 !important;
8484
font-size: 13px !important;
8585
line-height: 16px !important;
86+
margin: 0 !important;
8687
}
8788

8889
.ggrach__debug_bar__log > pre > code {

initializers/server.php

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

33
use Bitrix\Main\Page\Asset;
44

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

88
\Bitrix\Main\Loader::registerAutoLoadClasses(null, [
@@ -43,6 +43,7 @@ function DD() {
4343
Asset::getInstance()->addJs($ggrachDebuggerRootPath . "/assets/DebugBar/js/initializer.js");
4444
Asset::getInstance()->addCss($ggrachDebuggerRootPath . '/assets/DebugBar/css/themes/general.css');
4545
Asset::getInstance()->addCss($ggrachDebuggerRootPath . '/assets/DebugBar/css/themes/' . $ggrachDebugBarConfigurator->getColorTheme() . '/theme.css');
46-
include '../functions.php';
47-
include '../events.php';
46+
47+
include __DIR__.'/../functions.php';
48+
include __DIR__.'/../events.php';
4849
}

0 commit comments

Comments
 (0)