Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorWebServerSetupCheck.php
Show All 17 Lines | if (isset($_SERVER['HTTP_X_MOD_PAGESPEED']) || | ||||
pht( | pht( | ||||
'This server received an "X-Mod-Pagespeed" or "X-Page-Speed" '. | 'This server received an "X-Mod-Pagespeed" or "X-Page-Speed" '. | ||||
'HTTP header on this request, which indicates that you have '. | 'HTTP header on this request, which indicates that you have '. | ||||
'enabled "mod_pagespeed" on this server. This module is not '. | 'enabled "mod_pagespeed" on this server. This module is not '. | ||||
'compatible with this software. You should disable the module.')); | 'compatible with this software. You should disable the module.')); | ||||
} | } | ||||
$base_uri = PhabricatorEnv::getEnvConfig('phabricator.base-uri'); | $base_uri = PhabricatorEnv::getEnvConfig('phabricator.base-uri'); | ||||
if (!strlen($base_uri)) { | if ($base_uri === null || !strlen($base_uri)) { | ||||
// If `phabricator.base-uri` is not set then we can't really do | // If `phabricator.base-uri` is not set then we can't really do | ||||
// anything. | // anything. | ||||
return; | return; | ||||
} | } | ||||
$expect_user = 'alincoln'; | $expect_user = 'alincoln'; | ||||
$expect_pass = 'hunter2'; | $expect_pass = 'hunter2'; | ||||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |