If the witness is summoned to attend and testify in this State he shall be tendered the sum of ten cents a mile for each mile by the ordinary traveled route to and from the court where the prosecution is pending and five dollars for each day that he is required to travel and attend as a witness.
S.C. Code § 19-9-80