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

Top X boxes can now be switched off #95

Closed
wants to merge 1 commit into from
Closed

Top X boxes can now be switched off #95

wants to merge 1 commit into from

Conversation

laf
Copy link
Member

@laf laf commented Feb 22, 2014

Using the following config options which are enabled by default, you can now switch on / off the Top X boxes:

$config['top_ports'] = 1; // This enables the top X ports box
$config['top_devices'] = 1; // This enables the top X devices box

@paulgear
Copy link
Member

Is there a file missing from this PR? I don't see how the patch makes it do what you claim. There must be some check against the config variables.

(Personally, I think the code I put in here to discover the top N modules was a horrible hack, and I'd like to replace it with something more elegant.)

@laf
Copy link
Member Author

laf commented Feb 23, 2014

Indeed the code is in the PR :)

html/includes/front/boxes.inc.php

This checks the config values.

@laf laf closed this Feb 23, 2014
@laf laf deleted the issue-94 branch February 23, 2014 12:14
@lock lock bot locked as resolved and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants