8000 minor #20926 [WebProfilerBundle] Fix PHP extensions in the toolbar (o… · symfony/symfony@b806ae0 · GitHub
[go: up one dir, main page]

Skip to content

Commit b806ae0

Browse files
committed
minor #20926 [WebProfilerBundle] Fix PHP extensions in the toolbar (ogizanagi)
This PR was merged into the 3.3-dev branch. Discussion ---------- [WebProfilerBundle] Fix PHP extensions in the toolbar | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | yes (adding other extensions info) | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20697 | License | MIT | Doc PR | N/A `ConfigDataCollector::hasAccelerator()` has been removed. Except if we want to reintroduce the method, I'd suggest to add apcu & opcache infos directly (or just remove the accelerator line). Commits ------- 2495030 [WebProfilerBundle] Fix PHP extensions in the toolbar
2 parents e98c068 + 2495030 commit b806ae0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
<div class="sf-toolbar-info-piece sf-toolbar-info-php-ext">
8585
<b>PHP Extensions</b>
8686
<span class="sf-toolbar-status sf-toolbar-status-{{ collector.hasxdebug ? 'green' : 'red' }}">xdebug</span>
87-
<span class="sf-toolbar-status sf-toolbar-status-{{ collector.hasaccelerator ? 'green' : 'red' }}">accel</span>
87+
<span class="sf-toolbar-status sf-toolbar-status-{{ collector.hasapcu ? 'green' : 'red' }}">APCu</span>
88+
<span class="sf-toolbar-status sf-toolbar-status-{{ collector.haszendopcache ? 'green' : 'red' }}">OPcache</span>
8889
</div>
8990

9091
<div class="sf-toolbar-info-piece">

0 commit comments

Comments
 (0)
0