Changeset View
Changeset View
Standalone View
Standalone View
src/config/source/ArcanistFilesystemConfigurationSource.php
Context not available. | |||||
$values = array(); | $values = array(); | ||||
if (Filesystem::pathExists($path)) { | if (Filesystem::pathExists($path)) { | ||||
$contents = Filesystem::readFile($path); | $contents = Filesystem::readFile($path); | ||||
if (strlen(trim($contents))) { | if (@strlen(trim($contents))) { | ||||
$values = phutil_json_decode($contents); | $values = phutil_json_decode($contents); | ||||
} | } | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0