diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-19 21:51:35 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-19 21:51:35 +0200 |
commit | 06af8e09da8ceecf33480f7a0a776df0070c8117 (patch) | |
tree | b7271b2ce950a827f9022d02f5d1a38562fdf4b2 | |
parent | 30f1ec2521f1983f744c4efdaaed5fe97b6e958d (diff) | |
download | nextcloud-server-06af8e09da8ceecf33480f7a0a776df0070c8117.tar.gz nextcloud-server-06af8e09da8ceecf33480f7a0a776df0070c8117.zip |
adding annotation check to checkServer()
-rwxr-xr-x | lib/private/util.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 6d8cada633c..6a2339aba68 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( |