Section 67. Pensions granted under the preceding section and all expenses connected therewith shall be paid by the commonwealth and the several counties to the same extent and in the same proportion as the salaries of the pensioners were paid at the time of their retirement.