Set base directory so smarty can find templates