adding annotation check to checkServer()

This commit is contained in:
Thomas Müller 2014-05-19 21:51:35 +02:00
parent 30f1ec2521
commit 06af8e09da
1 changed files with 6 additions and 0 deletions

View File

@ -490,6 +490,12 @@ class OC_Util {
);
$webServerRestart = true;
}
if (!self::isAnnotationsWorking()) {
$errors[] = array(
'error'=>'PHP is apparently setup to strip inline doc blocks. This will make several core apps inaccessible.',
'hint'=>'This is probably caused by a cache/accelerator such as Zend OPcache or eAccelerator.'
);
}
if($webServerRestart) {
$errors[] = array(