doctrine (kernel) and smarty (config) integration