Commit baa448eb authored by Dries's avatar Dries

- Patch #851058 by boombatower: fixed DOMDocument::loadHTML() fails.

parent 23e6e0d9
...@@ -37,7 +37,7 @@ function simpletest_requirements($phase) { ...@@ -37,7 +37,7 @@ function simpletest_requirements($phase) {
$has_curl = function_exists('curl_init'); $has_curl = function_exists('curl_init');
$has_hash = function_exists('hash_hmac'); $has_hash = function_exists('hash_hmac');
$has_domdocument = class_exists('DOMDocument'); $has_domdocument = method_exists('DOMDocument', 'loadHTML');
$open_basedir = ini_get('open_basedir'); $open_basedir = ini_get('open_basedir');
$requirements['curl'] = array( $requirements['curl'] = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment