73 return Directory\Local::root()->getPath(
'/');
84 return dirname(__DIR__);
97 if (
$name ===
'siteemail') {
98 $msg =
'The config value "siteemail" is deprecated. Use elgg_get_site_entity()->email';
100 }
else if (
$name ==
'icon_sizes') {
101 $msg =
'The config value "icon_sizes" is deprecated. Use elgg_get_icon_sizes()';
203 return _elgg_services()->datalist->runFunctionOnce($functionname, $timelastupdatedcheck);
293 $hooks->registerHandler(
'unit_test',
'system',
'_elgg_config_test');
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
if($guid==elgg_get_logged_in_user_guid()) $name
unset_config($name, $site_guid=0)
Removes a config setting.
elgg_save_config($name, $value, $site_guid=0)
Save a configuration setting.
elgg_get_icon_sizes($entity_type=null, $entity_subtype=null, $type= 'icon')
Returns a configuration array of icon sizes.
get_config($name, $site_guid=0)
Gets a configuration value.
_elgg_config_test($hook, $type, $tests)
private
elgg_get_cache_path()
Get the cache directory path for this installation.
datalist_get($name)
Get the value of a datalist element.
elgg_set_config($name, $value)
Set an Elgg configuration value.
datalist_set($name, $value)
Set the value for a datalist element.
elgg_get_root_path()
Get the root directory path for this installation.
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
run_function_once($functionname, $timelastupdatedcheck=0)
Run a function one time per installation.
static elggDir()
Returns a directory that points to the root of Elgg, but not necessarily the install root...
elgg_get_engine_path()
/path/to/elgg/engine
elgg_get_plugins_path()
Get the plugin path for this installation.
elgg_get_data_path()
Get the data directory path for this installation.
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
set_config($name, $value, $site_guid=0)
Add or update a config setting.