Skip to content

Allow to specify 'xhprof.output_dir' without xhprof available#96

Open
Vincent-- wants to merge 1 commit intophacility:masterfrom
RewardGateway:rg
Open

Allow to specify 'xhprof.output_dir' without xhprof available#96
Vincent-- wants to merge 1 commit intophacility:masterfrom
RewardGateway:rg

Conversation

@Vincent--
Copy link

If the xhprof extension is not installed, ini_get() doesn't work but get_cfg_var() still return the value:

php > print_r(ini_get('xhprof.output_dir'));
php > print_r(get_cfg_var('xhprof.output_dir'));
/test/

This allow to use the UI with tideways for instance or on a separate server.

If the xhprof extension is not installed, `ini_get()` doesn't work but `get_cfg_var()` still return the value:
```
php > print_r(ini_get('xhprof.output_dir'));
php > print_r(get_cfg_var('xhprof.output_dir'));
/test/
```
This allow to use the UI with `tideways` for instance or on a separate server.
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.

1 participant