Setup: added some checks when useing WIN

lets just say, the CLI works somewhat differently..
This commit is contained in:
Sarjuuk
2015-06-29 00:04:13 +02:00
parent 2f767ba835
commit 7673e256c8
2 changed files with 20 additions and 8 deletions

View File

@@ -140,7 +140,7 @@ function siteconfig()
$buff .= $conf['flags'] & CON_FLAG_PHP ? " PHP: " : "AOWOW: ";
$buff .= $conf['flags'] & CON_FLAG_PHP ? strtolower($conf['key']) : strtoupper('cfg_'.$conf['key']);
if ($info[1])
if (!empty($info[1]))
$buff .= " - ".$info[1];
CLISetup::log($buff);