diff options
Diffstat (limited to 'lib/config.php')
-rw-r--r-- | lib/config.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/config.php b/lib/config.php index f1c139f22b1..7dd596fcea5 100644 --- a/lib/config.php +++ b/lib/config.php @@ -168,6 +168,7 @@ class OC_Config{ */ public static function writeData() { // Create a php file ... + $defaults = new OC_Defaults; $content = "<?php\n "; if (defined('DEBUG') && DEBUG) { $content .= "define('DEBUG',true);\n"; @@ -183,8 +184,8 @@ class OC_Config{ $tmpl = new OC_Template( '', 'error', 'guest' ); $tmpl->assign('errors', array(1=>array( 'error'=>"Can't write into config directory 'config'", - 'hint'=>'You can usually fix this by giving the webserver user write access' - .' to the config directory in owncloud'))); + 'hint'=>'This can usually be fixed by ' + .'<a href="' . $defaults->getDocBaseUrl() . '/server/5.0/admin_manual/installation/installation_source.html#set-the-directory-permissions" target="_blank">giving the webserver write access to the config directory</a>.'))); $tmpl->printPage(); exit; } |