Skip to content

Commit

Permalink
bugfixes, server seems to work but not much tested yet
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaccon committed Dec 15, 2007
1 parent a798bb4 commit 8637d6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/demo/erlydtl_demo.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ compile_templates() ->
true,
fun(Path, _Acc) ->
Name = filename:rootname(filename:basename(Path)),
erlydtl:compile(Path, Name, DocRoot)
erlydtl_server:compile(Path, Name, DocRoot)
end,
[]).

Expand Down
4 changes: 2 additions & 2 deletions src/erlydtl/erlydtl_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
%% top supervisor of the tree.
%% @end
%%--------------------------------------------------------------------
start(_Type, StartArgs) ->
erlydtl_sup:start_link(StartArgs).
start(_Type, _StartArgs) ->
erlydtl_sup:start_link().

%%--------------------------------------------------------------------
%% @spec stop(State) -> void()
Expand Down
4 changes: 2 additions & 2 deletions src/erlydtl/erlydtl_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ start_link() ->
%% @end
%%--------------------------------------------------------------------
init([]) ->
AChild = {erlydtl,{erlydtl,start_link,[]},
permanent,2000,worker,[erlydtl]},
AChild = {erlydtl_server,{erlydtl_server,start_link,[]},
permanent,2000,worker,[erlydtl_server]},
{ok,{{one_for_all,0,1}, [AChild]}}.

%%====================================================================
Expand Down

0 comments on commit 8637d6f

Please sign in to comment.