[Pkg-owncloud-commits] [owncloud] 19/199: adding annotation check to checkServer()

David Prévot taffit at moszumanska.debian.org
Sun Jun 1 18:53:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 06af8e09da8ceecf33480f7a0a776df0070c8117
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon May 19 21:51:35 2014 +0200

    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 6d8cada..6a2339a 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(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list