Skip to content

Commit

Permalink
Dir = proplists:get_value(root_dir, Props, code:root_dir()),
Browse files Browse the repository at this point in the history
  • Loading branch information
jixiuf committed Sep 20, 2012
1 parent 05a6dd3 commit 974eff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/otp_doc.erl
Expand Up @@ -85,8 +85,8 @@ assert(Props) ->

%% gen_server callbacks
init(Props) ->
Dir = "/usr/share/doc/erlang-15.2/html",
%% Dir = proplists:get_value(root_dir, Props, code:root_dir()),
%% Dir = "/usr/share/doc/erlang-15.2/html",
Dir = proplists:get_value(root_dir, Props, code:root_dir()),

Prot = proplists:get_value(prot, Props, file),
ets:new(?MODULE,[named_table,ordered_set]),
Expand Down

0 comments on commit 974eff9

Please sign in to comment.