Merge branch 'MAINT_3_4_7' into QA_3_4
This commit is contained in:
@@ -82,6 +82,9 @@ vim: expandtab ts=4 sw=4 sts=4 tw=78
|
||||
<li>To support BLOB streaming, see PHP and MySQL requirements
|
||||
in <a href="#faq6_25">
|
||||
<abbr title="Frequently Asked Questions">FAQ</abbr> 6.25</a>.</li>
|
||||
<li>To support XML and Open Document Spreadsheet importing,
|
||||
you need PHP 5.2.17 or newer and the
|
||||
<a href="http://www.php.net/libxml"><tt>libxml</tt></a> extension.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><b>MySQL</b> 5.0 or newer (<a href="#faq1_17">details</a>);</li>
|
||||
|
@@ -13,6 +13,13 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* We need way to disable external XML entities processing.
|
||||
*/
|
||||
if (!function_exists('libxml_disable_entity_loader')) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* The possible scopes for $plugin_param are: 'table', 'database', and 'server'
|
||||
*/
|
||||
@@ -60,6 +67,11 @@ while (! ($finished && $i >= $len) && ! $error && ! $timeout_passed) {
|
||||
|
||||
unset($data);
|
||||
|
||||
/**
|
||||
* Disable loading of external XML entities.
|
||||
*/
|
||||
libxml_disable_entity_loader();
|
||||
|
||||
/**
|
||||
* Load the XML string
|
||||
*
|
||||
|
@@ -12,6 +12,13 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* We need way to disable external XML entities processing.
|
||||
*/
|
||||
if (!function_exists('libxml_disable_entity_loader')) {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* The possible scopes for $plugin_param are: 'table', 'database', and 'server'
|
||||
*/
|
||||
@@ -53,6 +60,11 @@ while (! ($finished && $i >= $len) && ! $error && ! $timeout_passed) {
|
||||
|
||||
unset($data);
|
||||
|
||||
/**
|
||||
* Disable loading of external XML entities.
|
||||
*/
|
||||
libxml_disable_entity_loader();
|
||||
|
||||
/**
|
||||
* Load the XML string
|
||||
*
|
||||
|
Reference in New Issue
Block a user