Update system/core/Input.php

Add method ispost() to check if request method is POST