@@ -429,9 +429,11 @@ |
||
429 | 429 | public static function checkRobotWebdav() |
430 | 430 | { |
431 | 431 | if (stripos(self::$userAgentString, "WEBDAV Client") !== false || |
432 | - stripos(self::$userAgentString, "Microsoft Office Existence Discovery") !== false) //Office Webdav probe |
|
432 | + stripos(self::$userAgentString, "Microsoft Office Existence Discovery") !== false) { |
|
433 | + //Office Webdav probe |
|
433 | 434 | { |
434 | 435 | self::$scriptedAgent->setName(ScriptedAgent::WEBDAV); |
436 | + } |
|
435 | 437 | self::$scriptedAgent->setType(ScriptedAgent::TOOL); |
436 | 438 | self::$scriptedAgent->setInfoURL("https://en.wikipedia.org/wiki/WebDAV"); |
437 | 439 | return true; |