Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122083492
PhabricatorConfigResponse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 15, 17:04
Size
883 B
Mime Type
text/x-php
Expires
Thu, Jul 17, 17:04 (2 d)
Engine
blob
Format
Raw Data
Handle
27408504
Attached To
rPH Phabricator
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
(
'Phabricator Setup Error'
);
}
protected
function
getResponseBodyClass
()
{
return
'setup-fatal'
;
}
protected
function
getResponseBody
()
{
return
$this
->
view
->
render
();
}
protected
function
buildPlainTextResponseString
()
{
return
pht
(
'This install has a fatal setup error, access the web interface '
.
'to view details and resolve it.'
);
}
}
Event Timeline
Log In to Comment