Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / http-foundation / ApacheRequest.php
index 84803ebae28fdca5f79f93934317d50ae9109c3f..4e99186dcd503d9ae5d82e7d34c92a418ed439b3 100644 (file)
@@ -35,7 +35,7 @@ class ApacheRequest extends Request
 
         if (false === strpos($this->server->get('REQUEST_URI'), $baseUrl)) {
             // assume mod_rewrite
-            return rtrim(dirname($baseUrl), '/\\');
+            return rtrim(\dirname($baseUrl), '/\\');
         }
 
         return $baseUrl;