I think it'd be useful if the console set an environmental variable when bootstrapping drupal. This would allow us to identify who is bootstrapping (web server vs cli).
My specific use case is to execute code on settings.php only when the console is bootstrapping drupal.
I think it'd be useful if the console set an environmental variable when bootstrapping drupal. This would allow us to identify who is bootstrapping (web server vs cli).
My specific use case is to execute code on settings.php only when the console is bootstrapping drupal.