MyBB Community Forums

Full Version: "Windows command promt pop-up" bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

When surfing on myBB on a local windows server, a command promt pops-up for a second.
Witch just is irritating when you are surfing on the board locally.

This is caused by the exec("uptime") function on global.php and inc/functions.php.

(it disapeared when i removed the load functions witch contains exec)

live-shot is attatched
We think it happens to any Windows server because the exec() function would open a command prompt.
This isn't a bug with myBB but with Windows servers, and as far as I can tell, the only way to fix it is comment out/delete the code doing that.
as this seems to often cause problems in windows servers, maybe an option in the ACP to disable to uptime checking would be useful, to save users having to modify the files directly, they could just disable it in the options.