Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/env/PhabricatorConfigLocalSource.php
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | final class PhabricatorConfigLocalSource extends PhabricatorConfigProxySource { | ||||
} | } | ||||
private function getConfigPath() { | private function getConfigPath() { | ||||
$root = dirname(phutil_get_library_root('phabricator')); | $root = dirname(phutil_get_library_root('phabricator')); | ||||
$path = $root.'/conf/local/local.json'; | $path = $root.'/conf/local/local.json'; | ||||
return $path; | return $path; | ||||
} | } | ||||
public function getReadablePath() { | |||||
$path = $this->getConfigPath(); | |||||
return Filesystem::readablePath($path); | |||||
} | |||||
} | } |