Enhance hint about writable app directory

This commit is contained in:
Brice Maron 2012-06-22 13:57:54 +02:00
parent 8c2803a7c1
commit 115c30bdb4
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ class OC_Util {
// Check if there is a writable install folder.
if(OC_Config::getValue('appstoreenabled', true)) {
if( OC_App::getInstallPath() === null || !is_writable(OC_App::getInstallPath())) {
$errors[]=array('error'=>"Can't write into apps directory",'hint'=>"You can usually fix this by giving the webserver user write access to the config directory in owncloud");
$errors[]=array('error'=>"Can't write into apps directory",'hint'=>"You can usually fix this by giving the webserver user write access to the apps directory
in owncloud or disabling the appstore in the config file.");
}
}