Elgg  Version 1.11
Namespaces | Variables
start.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

global $START_MICROTIME = microtime(true)
 The time with microseconds when the Elgg engine was started. More...
 
global $CONFIG
 Configuration values. More...
 
if(!isset($CONFIG)) $CONFIG boot_complete = false
 
 $engine_dir = dirname(__FILE__)
 
if(!is_file("$engine_dir/settings.php")) if (!is_readable("$engine_dir/settings.php"))
 
$CONFIG default_limit = 10
 
 $viewtype = elgg_get_viewtype()
 

Variable Documentation

◆ $CONFIG

global $CONFIG

Configuration values.

The $CONFIG global contains configuration values required for running Elgg as defined in the settings.php file.

Plugin authors are encouraged to use elgg_get_config() instead of accessing the global directly.

See also
elgg_get_config()
engine/settings.php @global \stdClass $CONFIG

Definition at line 40 of file start.php.

◆ $engine_dir

$engine_dir = dirname(__FILE__)

Definition at line 46 of file start.php.

◆ $START_MICROTIME

$START_MICROTIME = microtime(true)

The time with microseconds when the Elgg engine was started.

@global float

Definition at line 24 of file start.php.

◆ $viewtype

$viewtype = elgg_get_viewtype()

◆ boot_complete

$CONFIG boot_complete = false

Definition at line 44 of file start.php.

◆ default_limit

$CONFIG default_limit = 10

Definition at line 62 of file start.php.

◆ if

if ( is_readable"$engine_dir/settings.php")
Initial value:
{
elgg_disable_simplecache()
Disables the simple cache.
Definition: cache.php:186

Definition at line 54 of file start.php.