Update Action.class.php

Function may be required for getting the upload directory