small fix

--HG--
branch : quitta-gsoc-2013
hg/feature/sse2
Quitta 11 years ago
parent cae26f525c
commit 739defbd99

@ -116,7 +116,7 @@ class Helpers{
{ {
// if HTTP_USER_AGENT is not set then its ryzom core // if HTTP_USER_AGENT is not set then its ryzom core
global $FORCE_INGAME; 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; return true;
}else{ }else{
return false; return false;

Loading…
Cancel
Save