Skip to content
Permalink
Browse files

API Remove deprecated SS_HOST

  • Loading branch information
chillu authored and Damian Mooyman committed May 8, 2017
1 parent afd1575 commit 75b7e19066c504708b721dca3cd39fe5ea45ac6b
Showing with 0 additions and 11 deletions.
  1. +0 −11 src/Control/Director.php
@@ -575,17 +575,6 @@ public static function host()
}
}
// Legacy ss4-alpha environment var
/**
* @todo remove at 4.0.0-beta1
* @deprecated 4.0.0-beta1
*/
$legacyHostname = getenv('SS_HOST');
if ($legacyHostname) {
Deprecation::notice('4.0', 'SS_HOST will be removed in ss 4.0.0-beta1');
return $legacyHostname;
}
// Fail over to server_name (least reliable)
return isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : gethostname();
}

0 comments on commit 75b7e19

Please sign in to comment.
You can’t perform that action at this time.