summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-30 22:17:30 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-30 22:17:30 +0200
commit555b9cc24532945f6a87741b336db535ac5b68cf (patch)
tree1a71c1f59f972190f91e2ea039adee725c377999 /settings/templates/admin.php
parentda6aae28ad0cb1bad3d0693f126a5436af64240d (diff)
parent06af8e09da8ceecf33480f7a0a776df0070c8117 (diff)
downloadnextcloud-server-555b9cc24532945f6a87741b336db535ac5b68cf.tar.gz
nextcloud-server-555b9cc24532945f6a87741b336db535ac5b68cf.zip
Merge pull request #7614 from owncloud/test_annotations_working
Check if ReflectionMethod::getDocComment is working
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r--settings/templates/admin.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 4b25128c30b..a86fe9c0ac7 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -83,6 +83,21 @@ if (!$_['isWebDavWorking']) {
<?php
}
+// Are doc blocks accessible?
+if (!$_['isAnnotationsWorking']) {
+ ?>
+<div class="section">
+ <h2><?php p($l->t('Setup Warning'));?></h2>
+
+ <span class="securitywarning">
+ <?php p($l->t('PHP is apparently setup to strip inline doc blocks. This will make several core apps inaccessible.')); ?>
+ <?php p($l->t('This is probably caused by a cache/accelerator such as Zend OPcache or eAccelerator.')); ?>
+ </span>
+
+</div>
+<?php
+}
+
// if module fileinfo available?
if (!$_['has_fileinfo']) {
?>