From 4c3aedef8706e144d84ea5f92ed197bb0d4e0b47 Mon Sep 17 00:00:00 2001 From: Quitta Date: Tue, 17 Sep 2013 01:59:40 +0200 Subject: [PATCH] small fix --- 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;