Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b806ae0

Browse filesBrowse 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
Copy full SHA for b806ae0

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig
+2-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.