11 echo "This script should be run only in Travis 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',
33 'dbprefix' =>
't_i_elgg_',
36 'sitename' =>
'Elgg Travis Site',
37 'siteemail' =>
'no_reply@travis.elgg.org',
38 'wwwroot' =>
'http://localhost:8888/',
39 'dataroot' => getenv(
'HOME') .
'/elgg_data/',
42 'displayname' =>
'Administrator',
43 'email' =>
'admin@travis.elgg.org',
44 'username' =>
'admin',
45 'password' =>
'fancypassword',
59 echo "Elgg $version install successful" . PHP_EOL;
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
$enabled
Travis CI CLI installer script.
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.