summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-03-07 02:53:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-09 22:44:55 +0200
commit287c8981bce2027bcda24c30c79704e2ebe6f779 (patch)
treef97d97b3f911e1c996b3e6778ccc39d6f66656dd /settings/templates/admin.php
parent1083085e6e1727d3e9008c0f8a0729fbdade39f3 (diff)
downloadnextcloud-server-287c8981bce2027bcda24c30c79704e2ebe6f779.tar.gz
nextcloud-server-287c8981bce2027bcda24c30c79704e2ebe6f779.zip
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 d8a800ca202..d6aa867d469 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -83,6 +83,21 @@ if (!$_['isWebDavWorking']) {
<?php
}
+// Are doc blocks accessible?
+if (!$_['isAnnotationsWorking']) {
+ ?>
+<fieldset class="personalblock">
+ <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>
+
+</fieldset>
+<?php
+}
+
// if module fileinfo available?
if (!$_['has_fileinfo']) {
?>