Updated allow_url_fopen check to check for 1