mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
adding annotation check to checkServer()
This commit is contained in:
parent
30f1ec2521
commit
06af8e09da
1 changed files with 6 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue