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

[PR] Stats / Charts broken when disk_total_space and/or disk_free_space are disabled via PHP #312

Merged
merged 3 commits into from
Apr 20, 2017

Conversation

raamdev
Copy link
Contributor

@raamdev raamdev commented Apr 6, 2017

  • Bug Fix: The Statistics feature was broken when the PHP disk_total_space() and/or disk_free_space() functions were disabled by the PHP configuration. Comet Cache now handles this scenario gracefully by hiding disk-related stats when those functions are not allowed. See Issue #775

See: wpsharks/comet-cache#775

raamdev added 2 commits April 6, 2017 19:53
 If `disk_total_space()` and `disk_free_space()` are disabled or
 otherwise not available, hide the Current Disk Health section, which
  won't work without these functions.

 wpsharks/comet-cache#775
@raamdev raamdev requested a review from jaswrks April 7, 2017 01:23
@raamdev
Copy link
Contributor Author

raamdev commented Apr 7, 2017

If disk_total_space() or disk_free_space() is disabled, the Current Disk Health section is hidden:

2017-04-06_20-57-47
2017-04-06_20-57-54

Copy link
Contributor

@jaswrks jaswrks left a comment

Choose a reason for hiding this comment

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

Looks good to me Raam. Nice work!

@raamdev raamdev merged commit 1b0c627 into dev Apr 20, 2017
@raamdev raamdev deleted the feature/775 branch April 20, 2017 02:55
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.

2 participants