[Pkg-owncloud-commits] [owncloud] 35/44: Allow XML entity loader for MDB2 schema loader
David Prévot
taffit at moszumanska.debian.org
Fri Mar 7 13:27:25 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 762b0d9510175489de223f30547f658f689662ba
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Mon Mar 3 11:31:46 2014 +0100
Allow XML entity loader for MDB2 schema loader
---
lib/private/db/mdb2schemareader.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/db/mdb2schemareader.php b/lib/private/db/mdb2schemareader.php
index 7a32d91..8671461 100644
--- a/lib/private/db/mdb2schemareader.php
+++ b/lib/private/db/mdb2schemareader.php
@@ -41,7 +41,9 @@ class MDB2SchemaReader {
*/
public function loadSchemaFromFile($file) {
$schema = new \Doctrine\DBAL\Schema\Schema();
+ $loadEntities = libxml_disable_entity_loader(false);
$xml = simplexml_load_file($file);
+ libxml_disable_entity_loader($loadEntities);
foreach ($xml->children() as $child) {
/**
* @var \SimpleXMLElement $child
--
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