Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorBaseURISetupCheck.php
- This file was moved from src/applications/config/check/PhabricatorSetupCheckBaseURI.php.
<?php | <?php | ||||
final class PhabricatorSetupCheckBaseURI extends PhabricatorSetupCheck { | final class PhabricatorBaseURISetupCheck extends PhabricatorSetupCheck { | ||||
protected function executeChecks() { | protected function executeChecks() { | ||||
$base_uri = PhabricatorEnv::getEnvConfig('phabricator.base-uri'); | $base_uri = PhabricatorEnv::getEnvConfig('phabricator.base-uri'); | ||||
if (strpos(AphrontRequest::getHTTPHeader('Host'), '.') === false) { | if (strpos(AphrontRequest::getHTTPHeader('Host'), '.') === false) { | ||||
$summary = pht( | $summary = pht( | ||||
'The domain does not contain a dot. This is necessary for some web '. | 'The domain does not contain a dot. This is necessary for some web '. | ||||
'browsers to be able to set cookies.'); | 'browsers to be able to set cookies.'); | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |