Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

<erl>
out(Arg) ->
% change directory to the document root of the webserver
c:cd(Arg#arg.docroot),
% determining YAWS' current working directory
% usually where you were when you typed sudo yaws
% not normally the same as the document root