Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77547615
PhameSite.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
Thu, Aug 15, 02:55
Size
547 B
Mime Type
text/x-php
Expires
Sat, Aug 17, 02:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19852036
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment