added paramter subdir for smarty plugin,assets