Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
cd07a416
Commit
cd07a416
authored
Feb 19, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2494 from resurtm/fix-debug-scroll-bar
Fix scrollbar in the Debug module when viewing PHP info output
parents
fb3b2f2c
b6b10ded
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
main.css
extensions/debug/assets/main.css
+4
-0
ConfigPanel.php
extensions/debug/panels/ConfigPanel.php
+1
-1
No files found.
extensions/debug/assets/main.css
View file @
cd07a416
...
...
@@ -34,6 +34,10 @@ td, th {
word-break
:
break-all
;
}
.config-php-info-table
td
.v
{
word-break
:
break-all
;
}
.detail-grid-view
th
{
white-space
:
nowrap
;
}
...
...
extensions/debug/panels/ConfigPanel.php
View file @
cd07a416
...
...
@@ -68,7 +68,7 @@ class ConfigPanel extends Panel
$pinfo
=
ob_get_contents
();
ob_end_clean
();
$phpinfo
=
preg_replace
(
'%^.*<body>(.*)</body>.*$%ms'
,
'$1'
,
$pinfo
);
$phpinfo
=
str_replace
(
'<table '
,
'<table class="table table-condensed table-bordered table-striped table-hover"'
,
$phpinfo
);
$phpinfo
=
str_replace
(
'<table '
,
'<table class="table table-condensed table-bordered table-striped table-hover
config-php-info-table
"'
,
$phpinfo
);
return
$phpinfo
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment