summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-21 22:01:27 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-21 22:01:27 +0200
commit124984905e162160fe38d141d238c6102f549e9b (patch)
tree58e7a32a1622c8f5ea934fcf6a79654d3b4d0348 /lib/private/util.php
parent148d2616e554964b59c5acaebf76333e5ae7f5eb (diff)
downloadnextcloud-server-124984905e162160fe38d141d238c6102f549e9b.tar.gz
nextcloud-server-124984905e162160fe38d141d238c6102f549e9b.zip
introduce OC_Helper::linkToDocs()
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-xlib/private/util.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 04b27ee61ae..f63884c0f32 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -303,7 +303,7 @@ class OC_Util {
//common hint for all file permissions error messages
$permissionsHint = 'Permissions can usually be fixed by '
- .'<a href="' . link_to_docs('admin-dir_permissions')
+ .'<a href="' . OC_Helper::linkToDocs('admin-dir_permissions')
.'" target="_blank">giving the webserver write access to the root directory</a>.';
// Check if config folder is writable.
@@ -311,7 +311,7 @@ class OC_Util {
$errors[] = array(
'error' => "Can't write into config directory",
'hint' => 'This can usually be fixed by '
- .'<a href="' . link_to_docs('admin-dir_permissions')
+ .'<a href="' . OC_Helper::linkToDocs('admin-dir_permissions')
.'" target="_blank">giving the webserver write access to the config directory</a>.'
);
}
@@ -324,7 +324,7 @@ class OC_Util {
$errors[] = array(
'error' => "Can't write into apps directory",
'hint' => 'This can usually be fixed by '
- .'<a href="' . link_to_docs('admin-dir_permissions')
+ .'<a href="' . OC_Helper::linkToDocs('admin-dir_permissions')
.'" target="_blank">giving the webserver write access to the apps directory</a> '
.'or disabling the appstore in the config file.'
);
@@ -340,7 +340,7 @@ class OC_Util {
$errors[] = array(
'error' => "Can't create data directory (".$CONFIG_DATADIRECTORY.")",
'hint' => 'This can usually be fixed by '
- .'<a href="' . link_to_docs('admin-dir_permissions')
+ .'<a href="' . OC_Helper::linkToDocs('admin-dir_permissions')
.'" target="_blank">giving the webserver write access to the root directory</a>.'
);
}