Fixed template path directory support on 1.9 support