Update BoxAPI.class.php

Header redirect fixed