aboutsummaryrefslogtreecommitdiff
path: root/js/lib/configuration.js
blob: f724a2f01c328edf74fa682cc9a1f19a918a2902 (plain)
1
2
3
4
5
6
7
8
9
10
elgg.provide('elgg.config');

/**
 * Returns the current site URL
 *
 * @return {String} The site URL.
 */
elgg.get_site_url = function() {
	return elgg.config.wwwroot;
}