Added extra check for config method that does not exist in presta 1.4