mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
*** empty log message ***
SVN Revision: 39
This commit is contained in:
parent
c4d76dec7d
commit
739a1cfcb0
@ -12,11 +12,14 @@
|
|||||||
|
|
||||||
-export([start/0, init/0]).
|
-export([start/0, init/0]).
|
||||||
|
|
||||||
|
-include("ejabberd.hrl").
|
||||||
|
|
||||||
start() ->
|
start() ->
|
||||||
spawn(?MODULE, init, []).
|
spawn(?MODULE, init, []).
|
||||||
|
|
||||||
init() ->
|
init() ->
|
||||||
register(ejabberd, self()),
|
register(ejabberd, self()),
|
||||||
|
error_logger:logfile({open, ?ERROR_LOG_PATH}),
|
||||||
randoms:start(),
|
randoms:start(),
|
||||||
ok = erl_ddll:load_driver(".", expat_erl),
|
ok = erl_ddll:load_driver(".", expat_erl),
|
||||||
Port = open_port({spawn, expat_erl}, [binary]),
|
Port = open_port({spawn, expat_erl}, [binary]),
|
||||||
|
@ -22,4 +22,5 @@
|
|||||||
|
|
||||||
-define(MSGS_DIR, "msgs").
|
-define(MSGS_DIR, "msgs").
|
||||||
-define(CONFIG_PATH, "ejabberd.cfg").
|
-define(CONFIG_PATH, "ejabberd.cfg").
|
||||||
|
-define(ERROR_LOG_PATH, "error.log").
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user