Update OnLoad.php

If your request is not need a layout, you can disable layout for it