Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2896094
PhameSite.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
547 B
Referenced Files
None
Subscribers
None
PhameSite.php
View Options
<?php
abstract
class
PhameSite
extends
PhabricatorSite
{
protected
function
isPhameActive
(
)
{
$base_uri
=
PhabricatorEnv
::
getEnvConfig
(
'phabricator.base-uri'
)
;
if
(
!
strlen
(
$base_uri
)
)
{
// Don't activate Phame if we don't have a base URI configured.
return
false
;
}
$phame_installed
=
PhabricatorApplication
::
isClassInstalled
(
'PhabricatorPhameApplication'
)
;
if
(
!
$phame_installed
)
{
// Don't activate Phame if the the application is uninstalled.
return
false
;
}
return
true
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 22:31 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129435
Default Alt Text
PhameSite.php (547 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment