simplehtmldom.module 697 B

123456789101112
  1. <?php
  2. // Include the only file of the library.
  3. // There are 5-6 funcs there and their names are not prefixed. But these names are quite unprobable to cause collisions...
  4. if (!function_exists('str_get_html')) {
  5. require_once('simplehtmldom/simple_html_dom.php');
  6. }
  7. else {
  8. 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');
  9. }