Page MenuHomePhabricator

D11327.diff
No OneTemporary

D11327.diff

diff --git a/src/moduleutils/moduleutils.php b/src/moduleutils/moduleutils.php
--- a/src/moduleutils/moduleutils.php
+++ b/src/moduleutils/moduleutils.php
@@ -7,7 +7,7 @@
function phutil_get_library_root_for_path($path) {
foreach (Filesystem::walkToRoot($path) as $dir) {
- if (@file_exists($dir.'/__phutil_library_init__.php')) {
+ if (Filesystem::pathExists($dir.'/__phutil_library_init__.php')) {
return $dir;
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 8:05 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7708442
Default Alt Text
D11327.diff (445 B)

Event Timeline