viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Adjust how name server is calculated for profile, a=chris

Chris Pollett [2016-02-11 07:Feb:th]
Adjust how name server is calculated for profile, a=chris
Filename
src/controllers/components/SystemComponent.php
diff --git a/src/controllers/components/SystemComponent.php b/src/controllers/components/SystemComponent.php
index 35d6bc49f..968f421fd 100755
--- a/src/controllers/components/SystemComponent.php
+++ b/src/controllers/components/SystemComponent.php
@@ -1019,8 +1019,7 @@ EOD;
                             tl('system_component_name_your_bot');
                         $data['USER_AGENT_SHORT'] =
                             $profile['USER_AGENT_SHORT'];
-                        $uri = UrlParser::getPath($_SERVER['REQUEST_URI']);
-                        $profile['NAME_SERVER'] = C\BASE_URL . $uri;
+                        $profile['NAME_SERVER'] = C\BASE_URL;
                         $data['NAME_SERVER'] = $profile['NAME_SERVER'];
                         $profile['AUTH_KEY'] = L\crawlHash(
                             $data['WORK_DIRECTORY'].time());
ViewGit