Commit 27104c92 authored by Vladimir Radulovski's avatar Vladimir Radulovski
Browse files

applied needed patches - the missing function warning and the node.module dependency

parent 6102ee21
name = simplehtmldom API name = simplehtmldom API
description = A wrapper module around the simplehtmldom PHP library at sourceforge. description = A wrapper module around the simplehtmldom PHP library at sourceforge.
package = Filter package = Filter
dependencies[] = node core = 7.x
core = 6.x
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Include the only file of the library. // Include the only file of the library.
// There are 5-6 funcs there and their names are not prefixed. But these names are quite unprobable to cause collisions... // There are 5-6 funcs there and their names are not prefixed. But these names are quite unprobable to cause collisions...
if (!function_exists($function_name) ) { if (!function_exists('str_get_html')) {
require_once('simplehtmldom/simple_html_dom.php'); require_once('simplehtmldom/simple_html_dom.php');
} }
else { else {
......
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