6 use Phinx\Wrapper\TextWrapper;
7 use Symfony\Component\Console\Input\ArrayInput;
22 return parent::executeRun($command);
26 if ($elgg_application->internal_services->config->testing_mode) {
28 return parent::executeRun($command);
32 $cli_application = $elgg_application->internal_services->cli;
34 $this->exitCode = $this->app->doRun(
new ArrayInput($command), $elgg_application->internal_services->cli_output);
Load, boot, and implement a front controller for an Elgg application.
static getInstance()
Get the global Application instance.
Elgg implementation of the Phinx Text Wrapper to ensure the correct OutputInterface.
executeRun(array $command)
{}
if(parse_url(elgg_get_site_url(), PHP_URL_PATH) !=='/') if(file_exists(elgg_get_root_path() . 'robots.txt'))
Set robots.txt.