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
a5582168
Commit
a5582168
authored
Jan 18, 2015
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug toolbar: fixed display issue with phpinfo tables
fixes #6903
parent
aef8fdff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CHANGELOG.md
extensions/debug/CHANGELOG.md
+1
-1
ConfigPanel.php
extensions/debug/panels/ConfigPanel.php
+1
-1
No files found.
extensions/debug/CHANGELOG.md
View file @
a5582168
...
@@ -4,7 +4,7 @@ Yii Framework 2 debug extension Change Log
...
@@ -4,7 +4,7 @@ Yii Framework 2 debug extension Change Log
2.
0.3 under development
2.
0.3 under development
-----------------------
-----------------------
-
no changes in this release.
-
Bug #6903: Fixed display issue with phpinfo() table (kalayda, cebe)
2.0.2 January 11, 2015
2.0.2 January 11, 2015
...
...
extensions/debug/panels/ConfigPanel.php
View file @
a5582168
...
@@ -73,7 +73,7 @@ class ConfigPanel extends Panel
...
@@ -73,7 +73,7 @@ class ConfigPanel extends Panel
$pinfo
=
ob_get_contents
();
$pinfo
=
ob_get_contents
();
ob_end_clean
();
ob_end_clean
();
$phpinfo
=
preg_replace
(
'%^.*<body>(.*)</body>.*$%ms'
,
'$1'
,
$pinfo
);
$phpinfo
=
preg_replace
(
'%^.*<body>(.*)</body>.*$%ms'
,
'$1'
,
$pinfo
);
$phpinfo
=
str_replace
(
'<table
'
,
'<div class="table-responsive"><table class="table table-condensed table-bordered table-striped table-hover config-php-info-table"
'
,
$phpinfo
);
$phpinfo
=
str_replace
(
'<table
'
,
'<div class="table-responsive"><table class="table table-condensed table-bordered table-striped table-hover config-php-info-table"
'
,
$phpinfo
);
$phpinfo
=
str_replace
(
'</table>'
,
'</table></div>'
,
$phpinfo
);
$phpinfo
=
str_replace
(
'</table>'
,
'</table></div>'
,
$phpinfo
);
return
$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