correction for PHP < 5.2.10

libxml_disable_entity_loader (PHP 5 >= 5.2.11)