diff --git a/lib/base.php b/lib/base.php
index 47064c103e..4f8d97ac95 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -181,7 +181,7 @@ class OC {
OC_Template::printErrorPage(
"Can't write into config directory!",
'This can usually be fixed by '
- .'giving the webserver write access to the config directory.'
+ .'giving the webserver write access to the config directory.'
);
}
}
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 3cc1d29c6a..9c3034dc06 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -183,7 +183,7 @@ class OC_Setup {
$error = $l->t('Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.');
$hint = $l->t('Please double check the installation guides.',
- link_to_docs('admin-install'));
+ \OC_Helper::linkToDocs('admin-install'));
OC_Template::printErrorPage($error, $hint);
exit();