优化提高Windows平台转移做种客户端的兼容性

This commit is contained in:
iyuu.cn
2020-02-23 01:18:42 +08:00
parent efa11d280d
commit 125394ee0b
5 changed files with 13 additions and 3 deletions

View File

@ -448,3 +448,12 @@ function ShowTableSites($dir = 'Protocols', $filter = array())
$table->setRows($data);
echo($table->render());
}
/**
* 是否win平台
* @return bool
*/
function isWin()
{
return (DIRECTORY_SEPARATOR == '\\') ? true : false;
}