summaryrefslogtreecommitdiffstats
path: root/lib/private/integritycheck/helpers/environmenthelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/integritycheck/helpers/environmenthelper.php')
-rw-r--r--lib/private/integritycheck/helpers/environmenthelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/integritycheck/helpers/environmenthelper.php b/lib/private/integritycheck/helpers/environmenthelper.php
index 8bddcb3d794..f56f07486c2 100644
--- a/lib/private/integritycheck/helpers/environmenthelper.php
+++ b/lib/private/integritycheck/helpers/environmenthelper.php
@@ -34,7 +34,7 @@ class EnvironmentHelper {
* @return string
*/
public function getServerRoot() {
- return \OC::$SERVERROOT;
+ return rtrim(\OC::$SERVERROOT, '/');
}
/**