diff options
Diffstat (limited to 'js/lib/configuration.js')
-rw-r--r-- | js/lib/configuration.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/js/lib/configuration.js b/js/lib/configuration.js index d0c852bd0..f724a2f01 100644 --- a/js/lib/configuration.js +++ b/js/lib/configuration.js @@ -1,7 +1,10 @@ elgg.provide('elgg.config'); -elgg.config.wwwroot = '/'; - +/** + * Returns the current site URL + * + * @return {String} The site URL. + */ elgg.get_site_url = function() { return elgg.config.wwwroot; }
\ No newline at end of file |