Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kasparsd
Copy link

Fixes #130.

An alternative approach to #147.

@@ -28,6 +28,9 @@ class Webgrind_MasterConfig
if (ini_get('date.timezone') == '')
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
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