diff --git a/src/Panel/EnvironmentPanel.php b/src/Panel/EnvironmentPanel.php index 7257203c..da582fca 100644 --- a/src/Panel/EnvironmentPanel.php +++ b/src/Panel/EnvironmentPanel.php @@ -90,8 +90,13 @@ protected function _prepare(): array $var = get_defined_constants(true); $return['app'] = array_diff_key($var['user'], $return['cake'], $hiddenCakeConstants); + $includePaths = $this->_debug->includePaths(); + foreach ($includePaths as $k => $v) { + $includePaths[$k] = Debugger::exportVarAsNodes($v); + } + // Included files data - $return['includePaths'] = $this->_debug->includePaths(); + $return['includePaths'] = $includePaths; $return['includedFiles'] = $this->prepareIncludedFiles(); return $return; diff --git a/webroot/css/style.css b/webroot/css/style.css index e74337bf..5d020196 100644 --- a/webroot/css/style.css +++ b/webroot/css/style.css @@ -281,10 +281,6 @@ strong { text-align: left; } -/* Override styles in cake's default css */ -.c-debug-table .cake-debug-string { - margin-right: 48px; -} /* correct height to fit with environment panel */ .c-debug-table .cake-debug-copy { padding: 5px 6px;