refactored APP_ROOT in smarty to be consistent with PHP as APP_WEB_ROOT