Go to the source code of this file.
elgg provide |
( |
'elgg.config' |
| ) |
|
Initial value: if (
elgg.config.simplecache_enabled) {
lastcache =
elgg.config.lastcache;
} else {
lastcache = 0;
}
}
var
path =
'/cache/' + lastcache +
'/' +
elgg.config.viewtype +
'/' +
type +
'/' +
view;
return elgg.normalize_url(path);
}
$CONFIG view
The current view type.
$CONFIG lastcache
The last cache time for the current viewtype.
$CONFIG path
The full path where Elgg is installed.
Get the URL for the cached file.
- Parameters
-
{String} | type |
{String} | view |
- Returns
- {String} The site URL.
Definition at line 19 of file configuration.js.
Initial value:= function() {
return elgg.config.wwwroot;
}
Returns the current site URL.
- Returns
- {String} The site URL.
Definition at line 8 of file configuration.js.