|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Check if apps folder is writable. |
|
|
// Check if apps folder is writable. |
|
|
if(!is_writable(OC::$SERVERROOT."/apps/")) { |
|
|
|
|
|
|
|
|
if(OC_Config::getValue('writable_appsdir', true) && !is_writable(OC::$SERVERROOT."/apps/")) { |
|
|
$tmpl = new OC_Template( '', 'error', 'guest' ); |
|
|
$tmpl = new OC_Template( '', 'error', 'guest' ); |
|
|
$tmpl->assign('errors',array(1=>array('error'=>"Can't write into apps directory 'apps'",'hint'=>"You can usually fix this by giving the webserver user write access to the config directory in owncloud"))); |
|
|
$tmpl->assign('errors',array(1=>array('error'=>"Can't write into apps directory 'apps'",'hint'=>"You can usually fix this by giving the webserver user write access to the config directory in owncloud"))); |
|
|
$tmpl->printPage(); |
|
|
$tmpl->printPage(); |