mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-08 16:52:59 +01:00
91aeaae9a5
via "EJABBERD_LOG_PATH" environment variable * src/translate.erl: Now possible to specify path to "msgs" directory via "EJABBERD_MSGS_PATH" environment variable * src/ejabberd.erl: Added get_so_path/0 function * src/ejabberd_app.erl: Use ejabberd:get_so_path/0 to load .so * src/mod_irc/iconv.erl: Likewise * src/stringprep/stringprep.erl: Likewise SVN Revision: 192
30 lines
638 B
Erlang
30 lines
638 B
Erlang
%%%----------------------------------------------------------------------
|
|
%%% File : ejabberd.erl
|
|
%%% Author : Alexey Shchepin <alexey@sevcom.net>
|
|
%%% Purpose :
|
|
%%% Created : 16 Nov 2002 by Alexey Shchepin <alexey@sevcom.net>
|
|
%%% Id : $Id$
|
|
%%%----------------------------------------------------------------------
|
|
|
|
-module(ejabberd).
|
|
-author('alexey@sevcom.net').
|
|
-vsn('$Revision$ ').
|
|
|
|
-export([start/0, stop/0,
|
|
get_so_path/0]).
|
|
|
|
start() ->
|
|
application:start(ejabberd).
|
|
|
|
stop() ->
|
|
application:stop(ejabberd).
|
|
|
|
|
|
get_so_path() ->
|
|
case os:getenv("EJABBERD_SO_PATH") of
|
|
false ->
|
|
".";
|
|
Path ->
|
|
Path
|
|
end.
|