The county legislative body may, in its discretion, allow and pay to poor persons who may become chargeable as paupers, and who will probably be benefited thereby, such sums or such annual allowance, to be paid according to the direction of the legislative body, as will not exceed the charge of their maintenance in the ordinary mode.