diff options
author | James Moger <james.moger@gitblit.com> | 2013-07-02 14:54:12 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-07-02 14:54:25 -0400 |
commit | 06fa4ba6d194446de377629f058c3b7528478520 (patch) | |
tree | 4b1d99cb07d82c8f2620cbc2fe0eb270e219a19f /src/main/java/com/gitblit/GitBlit.java | |
parent | 26c887ea966b164a5f9cecc2e6a8b4f1ff2bd9b0 (diff) | |
download | gitblit-06fa4ba6d194446de377629f058c3b7528478520.tar.gz gitblit-06fa4ba6d194446de377629f058c3b7528478520.zip |
Updated test suite to use relocated test config files
Diffstat (limited to 'src/main/java/com/gitblit/GitBlit.java')
-rw-r--r-- | src/main/java/com/gitblit/GitBlit.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/GitBlit.java b/src/main/java/com/gitblit/GitBlit.java index b6f7de46..1fd52f1a 100644 --- a/src/main/java/com/gitblit/GitBlit.java +++ b/src/main/java/com/gitblit/GitBlit.java @@ -278,6 +278,15 @@ public class GitBlit implements ServletContextListener { } /** + * Returns the active settings. + * + * @return the active settings + */ + public static IStoredSettings getSettings() { + return self().settings; + } + + /** * Returns the user-defined blob encodings. * * @return an array of encodings, may be empty |