Quote:
Originally Posted by eXtremeTim
You need to redo this part right here.
PHP Code:
if ($vbulletin->userinfo['usergroupid']==6) {
$loadavg = @file_get_contents("/proc/loadavg");
if ($loadavg) {
$regs = explode(" ",$loadavg);
$serverload=' [Server Loads: <b>'.$regs[0].'</b> '.$regs[1].' : '.$regs[2].']';
$debughtml .= iif($_TEMPLATEQUERIES, " (<b>" . sizeof($_TEMPLATEQUERIES) . "</b> queries for uncached templates)", '') . "$serverload";
}
}
Like me im on windows so I dont have proc meaning that I dont get to see any of the admin stats becuase of the way you have it laid out.
|
I've released version 1.0.1 so Windows users will get to see the queries for uncached templates.
Quote:
Originally Posted by neocorteqz
he's talking like Teck's hack.
|
That would require file edits and I like having this as a plugin.