Update SmartyEngine.php

Allow to read templates from all available template directories.