check if view/smarty3 folder is writable by webserver

allert user and kill script if view/smarty3 is not writable by webserver