adding annotation check to checkServer()
This commit is contained in:
parent
30f1ec2521
commit
06af8e09da
|
@ -490,6 +490,12 @@ class OC_Util {
|
||||||
);
|
);
|
||||||
$webServerRestart = true;
|
$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) {
|
if($webServerRestart) {
|
||||||
$errors[] = array(
|
$errors[] = array(
|
||||||
|
|
Loading…
Reference in New Issue