correction for PHP < 5.2.11

libxml_disable_entity_loader (PHP 5 >= 5.2.11)