COLUMBIA, S.C. - State employees in 26 counties whose offices were closed because of Hurricane Matthew will be paid for those days.

Gov. Nikki Haley issued an executive order Friday granting leave with pay for employees who work in the state offices she ordered closed from Oct. 5 through Oct. 7.

As the hurricane headed to South Carolina, Haley ordered all public schools and government offices in 26 counties to close amid her coastal evacuation orders. She said that would ease traffic for the hundreds of thousands of people leaving the coast, while some schools served as shelters.

Her latest order does not apply to the employees of school districts and local governments that had to close.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)