Check if HTTPS is defined on $_SERVER.