Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
simplehtmldom
Commits
27104c92
Commit
27104c92
authored
Jun 13, 2011
by
Vladimir Radulovski
Browse files
applied needed patches - the missing function warning and the node.module dependency
parent
6102ee21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
simplehtmldom.info
simplehtmldom.info
+1
-2
simplehtmldom.module
simplehtmldom.module
+1
-1
No files found.
simplehtmldom.info
View file @
27104c92
name
=
simplehtmldom
API
description
=
A
wrapper
module
around
the
simplehtmldom
PHP
library
at
sourceforge
.
package
=
Filter
dependencies
[]
=
node
core
=
6.
x
core
=
7.
x
simplehtmldom.module
View file @
27104c92
...
...
@@ -3,7 +3,7 @@
// 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...
if
(
!
function_exists
(
$function_name
)
)
{
if
(
!
function_exists
(
'str_get_html'
)
)
{
require_once
(
'simplehtmldom/simple_html_dom.php'
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment