diff options
-rw-r--r-- | js/lib/configuration.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/lib/configuration.js b/js/lib/configuration.js index 8ed326116..d0c852bd0 100644 --- a/js/lib/configuration.js +++ b/js/lib/configuration.js @@ -1,3 +1,7 @@ elgg.provide('elgg.config'); -elgg.config.wwwroot = '/';
\ No newline at end of file +elgg.config.wwwroot = '/'; + +elgg.get_site_url = function() { + return elgg.config.wwwroot; +}
\ No newline at end of file |