11 echo "This script should be run only in CI test environment.\n";
15 if (PHP_SAPI !==
'cli') {
16 echo "You must use the command line to run this script.\n";
20 require_once __DIR__ .
"/../../autoloader.php";
28 'dbpassword' =>
'password',
30 'dbhost' =>
'127.0.0.1',
34 'dbprefix' =>
'c_i_elgg_',
37 'sitename' =>
'Elgg CI Site',
38 'siteemail' =>
'no_reply@ci.elgg.org',
39 'wwwroot' =>
'http://localhost:8888/',
40 'dataroot' => getenv(
'HOME') .
'/elgg_data/',
43 'displayname' =>
'Administrator',
44 'email' =>
'admin@ci.elgg.org',
45 'username' =>
'admin',
46 'password' =>
'fancypassword',
60 echo "Elgg $version install successful" . PHP_EOL;
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
static start()
Replacement for loading engine/start.php.
elgg echo
Translates a string.
elgg_get_version($human_readable=false)
Get the current Elgg version information.
$enabled
CI CLI installer script.