The class can may already be loaded into PHP, so check class_exists('simple_html_dom_node') before everything.

Comments

RobLoach’s picture

Issue summary: View changes
Konstantin Komelin’s picture

I don't mind of this change. Patches are welcome.