mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-04 06:37:55 +08:00
@ -4,7 +4,7 @@ Yii Framework 2 debug extension Change Log
|
||||
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
|
||||
|
||||
@ -73,7 +73,7 @@ class ConfigPanel extends Panel
|
||||
$pinfo = ob_get_contents();
|
||||
ob_end_clean();
|
||||
$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);
|
||||
return $phpinfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user