Elgg  Version 2.3
Variables
ci_installer.php File Reference

Go to the source code of this file.

Variables

 $enabled = getenv('CI') != ''
 CI CLI installer script. More...
 
if(!$enabled) if (PHP_SAPI!== 'cli')
 
 $installer = new ElggInstaller()
 
 $params
 
 $version = elgg_get_version(true)
 

Variable Documentation

$enabled = getenv('CI') != ''

CI CLI installer script.

It's designed for core automatic tests only.

private

Definition at line 8 of file ci_installer.php.

$installer = new ElggInstaller()

Definition at line 22 of file ci_installer.php.

$params
Initial value:
= array(
'dbuser' => 'root',
'dbpassword' => 'password',
'dbname' => 'elgg',
'dbhost' => '127.0.0.1',
'dbprefix' => 'c_i_elgg_',
'sitename' => 'Elgg CI Site',
'siteemail' => 'no_reply@ci.elgg.org',
'wwwroot' => 'http://localhost:8888/',
'dataroot' => getenv('HOME') . '/elgg_data/',
'displayname' => 'Administrator',
'email' => 'admin@ci.elgg.org',
'username' => 'admin',
'password' => 'fancypassword',
'timezone' => 'UTC'
)

Definition at line 25 of file ci_installer.php.

Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 57 of file ci_installer.php.

if (!$enabled) if(PHP_SAPI!== 'cli')

Definition at line 15 of file ci_installer.php.