Browse Source

shorten wording on config directory errors

tags/v6.0.0alpha2
Jan-Christoph Borchardt 11 years ago
parent
commit
93b227d803
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      lib/base.php
  2. 2
    1
      lib/config.php

+ 2
- 1
lib/base.php View File

@@ -173,7 +173,7 @@ class OC {
and !is_writable(OC::$SERVERROOT . "/config/config.php")) {
$defaults = new OC_Defaults();
OC_Template::printErrorPage(
"Can't write into config directory 'config'",
"Can't write into config directory!",
'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>.'
);
@@ -826,3 +826,4 @@ if (!function_exists('get_temp_dir')) {
}

OC::init();


+ 2
- 1
lib/config.php View File

@@ -177,7 +177,7 @@ class Config {
if (!$result) {
$url = $defaults->getDocBaseUrl() . '/server/5.0/admin_manual/installation/installation_source.html#set-the-directory-permissions';
throw new HintException(
"Can't write into config directory 'config'",
"Can't write into config directory!",
'This can usually be fixed by '
.'<a href="' . $url . '" target="_blank">giving the webserver write access to the config directory</a>.');
}
@@ -186,3 +186,4 @@ class Config {
\OC_Util::clearOpcodeCache();
}
}


Loading…
Cancel
Save