13 echo "This script should be run only in Travis CI test environment.\n";
17 if (PHP_SAPI !==
'cli') {
18 echo "You must use the command line to run this script.\n";
24 require_once
"$elggRoot/vendor/autoload.php";
32 'dbpassword' =>
'password',
34 'dbprefix' =>
't_i_elgg_',
37 'sitename' =>
'Elgg Travis Site',
38 'siteemail' =>
'no_reply@travis.elgg.org',
39 'wwwroot' =>
'http://localhost:8888/',
40 'dataroot' => getenv(
'HOME') .
'/elgg_data/',
43 'displayname' =>
'Administrator',
44 'email' =>
'admin@travis.elgg.org',
45 'username' =>
'admin',
46 'password' =>
'fancypassword',
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
if(!$enabled) if(PHP_SAPI!== 'cli') $elggRoot
elgg echo
Translates a string.