Page MenuHomePhorge

PhameSite.php
No OneTemporary

PhameSite.php

<?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

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)

Event Timeline