'error'=>"Can't write into config directory 'config'",
'hint'=>'This can usually be fixed by '
OC_Template::printErrorPage(
"Can't write into config directory 'config'",
'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>.'
)));
$tmpl->printPage();
exit();
);
}
}
@ -223,10 +218,7 @@ class OC {
header('Retry-After: 120');
// render error page
$tmpl=newOC_Template('','error','guest');
$tmpl->assign('errors',array(1=>array('error'=>'ownCloud is in maintenance mode')));
$tmpl->printPage();
exit();
OC_Template::printErrorPage('ownCloud is in maintenance mode');
}
}
@ -305,11 +297,7 @@ class OC {
$error='Session could not be initialized. Please contact your ';