From 93b227d80309e28d900641bac9c568484826dae5 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 22 Jul 2013 15:05:28 +0200 Subject: [PATCH] shorten wording on config directory errors --- lib/base.php | 3 ++- lib/config.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/base.php b/lib/base.php index df57fe979f..eaee842465 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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 ' .'giving the webserver write access to the config directory.' ); @@ -826,3 +826,4 @@ if (!function_exists('get_temp_dir')) { } OC::init(); + diff --git a/lib/config.php b/lib/config.php index a38ce19c74..f7852fd68f 100644 --- a/lib/config.php +++ b/lib/config.php @@ -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 ' .'giving the webserver write access to the config directory.'); } @@ -186,3 +186,4 @@ class Config { \OC_Util::clearOpcodeCache(); } } +