shorten wording on config directory errors
This commit is contained in:
parent
31bf24a116
commit
93b227d803
2 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue