smarty->getTemplateDir() returns a result ending with a separator, so no need to add DIRECTORY_SEPARATOR ?