From 06af8e09da8ceecf33480f7a0a776df0070c8117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 19 May 2014 21:51:35 +0200 Subject: [PATCH] adding annotation check to checkServer() --- lib/private/util.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/private/util.php b/lib/private/util.php index 6d8cada633..6a2339aba6 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -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(