Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2680440
PhorgeItPublicHomeSite.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
691 B
Referenced Files
None
Subscribers
None
PhorgeItPublicHomeSite.php
View Options
<?php
final
class
PhorgeItPublicHomeSite
extends
PhabricatorSite
{
public
function
getDescription
(
)
{
return
pht
(
'Landing page for phorge.it'
)
;
}
public
function
getPriority
(
)
{
return
3000
;
}
public
function
newSiteForRequest
(
AphrontRequest
$request
)
{
return
;
$host
=
$request
->
getHost
(
)
;
if
(
$host
==
'localhost'
)
{
// TODO config
return
new
self
(
)
;
}
}
public
function
getRoutingMaps
(
)
{
$app
=
PhabricatorApplication
::
getByClass
(
'PhorgeItHomeApplication'
)
;
$maps
=
array
(
)
;
$maps
[
]
=
$this
->
newRoutingMap
(
)
->
setApplication
(
$app
)
->
setRoutes
(
array
(
'/'
=>
'PhorgeItHomeController'
)
)
;
return
$maps
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 19, 17:03 (22 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1014887
Default Alt Text
PhorgeItPublicHomeSite.php (691 B)
Attached To
Mode
R10 PhorgeIt Extension
Attached
Detach File
Event Timeline
Log In to Comment