small fix

This commit is contained in:
Quitta 2013-09-17 01:59:40 +02:00
parent 05137ee76f
commit 3304737351

View file

@ -116,7 +116,7 @@ class Helpers{
{
// if HTTP_USER_AGENT is not set then its ryzom core
global $FORCE_INGAME;
if ( ( isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'],"Ryzom") === 0)) || $FORCE_INGAME){
if ( ( isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'],"Ryzom") === 0)) || $FORCE_INGAME || ! isset($_SERVER['HTTP_USER_AGENT']) ){
return true;
}else{
return false;