fixed wrong smarty link
specified chmods for app