Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F471351
PhabricatorConfigResponse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorConfigResponse.php
View Options
<?php
final
class
PhabricatorConfigResponse
extends
AphrontStandaloneHTMLResponse
{
private
$view
;
public
function
setView
(
PhabricatorSetupIssueView
$view
)
{
$this
->
view
=
$view
;
return
$this
;
}
public
function
getHTTPResponseCode
()
{
return
500
;
}
protected
function
getResources
()
{
return
array
(
'css/application/config/config-template.css'
,
'css/application/config/setup-issue.css'
,
);
}
protected
function
getResponseTitle
()
{
return
pht
(
'Setup Error'
);
}
protected
function
getResponseBodyClass
()
{
if
(
PhabricatorSetupCheck
::
isInFlight
())
{
return
'setup-fatal in-flight'
;
}
else
{
return
'setup-fatal'
;
}
}
protected
function
getResponseBody
()
{
$view
=
$this
->
view
;
if
(
PhabricatorSetupCheck
::
isInFlight
())
{
return
$view
->
renderInFlight
();
}
else
{
return
$view
->
render
();
}
}
protected
function
buildPlainTextResponseString
()
{
return
pht
(
'This install has a fatal setup error, access the web interface '
.
'to view details and resolve it.'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 6, 2:08 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
82496
Default Alt Text
PhabricatorConfigResponse.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment