add smarty directory to excluded path