function _drush_php_ini_loaded_file_message

8.0.x environment.inc _drush_php_ini_loaded_file_message()
6.x environment.inc _drush_php_ini_loaded_file_message()
7.x environment.inc _drush_php_ini_loaded_file_message()
4.x environment.inc _drush_php_ini_loaded_file_message()
5.x environment.inc _drush_php_ini_loaded_file_message()
master environment.inc _drush_php_ini_loaded_file_message()

Returns a localizable message about php.ini that varies depending on whether the php_ini_loaded_file() is available or not.

2 calls to _drush_php_ini_loaded_file_message()
_drush_environment_check_php_ini in includes/environment.inc
Evaluate the environment before command bootstrapping begins. If the php environment is too restrictive, then notify the user that a setting change is needed and abort.
_drush_postmortem in includes/environment.inc
Evalute the environment after an abnormal termination and see if we can determine any configuration settings that the user might want to adjust.

File

includes/environment.inc, line 55
Functions used by drush to query the environment and setting the current configuration.

Code

function _drush_php_ini_loaded_file_message() {
  if (function_exists('php_ini_loaded_file')) {
    return dt('Please check your configuration settings in !phpini or in your drush.ini file; see examples/example.drush.ini for details.', array('!phpini' => php_ini_loaded_file()));
  }
  else {
    return dt('Please check your configuration settings in your php.ini file or in your drush.ini file; see examples/example.drush.ini for details.');
  }
}