Skip to content

Use the DOCKER:ENABLE flag to enable profiling results for index.php#148

Open
kasparsd wants to merge 5 commits into
jokkedk:masterfrom
xwp:fix/profile-all-docker
Open

Use the DOCKER:ENABLE flag to enable profiling results for index.php#148
kasparsd wants to merge 5 commits into
jokkedk:masterfrom
xwp:fix/profile-all-docker

Conversation

@kasparsd

Copy link
Copy Markdown

Fixes #130.

An alternative approach to #147.

Comment thread index.php
date_default_timezone_set( Webgrind_Config::$defaultTimezone );

// Show profiles for index.php files if running inside the Docker image
//Webgrind_Config::$hideWebgrindProfiles = false; /** DOCKER:ENABLE **/

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this to config.php? I think it would simplify maintenance, since no changes to Dockerfile would be needed. (Also, keeps config values in the same file.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker Webgrind ignores index.php by default and is not configurable.

2 participants