simplehtmldom.module in simplehtmldom API 6
File
simplehtmldom.module
View source
<?php
if (!function_exists('str_get_html')) {
require_once 'simplehtmldom/simple_html_dom.php';
}
else {
drupal_set_message('The simplehtmldom API module found that you define its functions before it does itself! Somewhere in yor drupal files there must be a copy of the simplehtmldom PHP library that you do not need if you have this drupal module... Please remove the old library and live happily. The simplehtmldom module will include the necessary php files from the lib as soon as you remove the old ones.', 'error');
}