|
@@ -90,7 +90,7 @@ list() ->
|
|
|
end.
|
|
end.
|
|
|
|
|
|
|
|
plugin(CfgFile) ->
|
|
plugin(CfgFile) ->
|
|
|
- [AppName | _] = sting:tokens(CfgFile, "."),
|
|
|
|
|
|
|
+ [AppName | _] = string:tokens(CfgFile, "."),
|
|
|
{ok, Attrs} = application:get_all_key(AppName),
|
|
{ok, Attrs} = application:get_all_key(AppName),
|
|
|
Ver = proplists:get_value(vsn, Attrs, "0"),
|
|
Ver = proplists:get_value(vsn, Attrs, "0"),
|
|
|
Descr = proplists:get_value(description, Attrs, ""),
|
|
Descr = proplists:get_value(description, Attrs, ""),
|