From 739defbd99e8b3d51cd231e3b4544069b820ee0b Mon Sep 17 00:00:00 2001 From: Quitta Date: Tue, 17 Sep 2013 01:59:40 +0200 Subject: [PATCH] small fix --HG-- branch : quitta-gsoc-2013 --- code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php index 24aed5483..9f8d61cbc 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/autoload/helpers.php @@ -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;