function drush_sitealias_site_get

8.0.x drush_sitealias_site_get()
6.x drush_sitealias_site_get()
7.x drush_sitealias_site_get()
5.x drush_sitealias_site_get()
master drush_sitealias_site_get()

Read the tmp file where the persistent site setting is stored.

Return value

string A valid site specification.

1 call to drush_sitealias_site_get()


includes/, line 1968
The site alias API.


function drush_sitealias_site_get() {
  if (($filename = drush_sitealias_get_envar_filename()) && file_exists($filename)) {
    $site = file_get_contents($filename);
    return $site;
  else {
    return FALSE;